POSIX Thread priorities.
joel.sherrill at OARcorp.com
Fri Sep 4 13:13:23 UTC 2009
Nick Thomas wrote:
> I am integrating a third party library into my RTEMS based project.
> And, although the system kind of works, the overall useability of the system
> is degraded when this third party code is in use.
> I think that it is using POSIX threads, but I can't easily find a way to
> find out how many threads it creates or the thread priorities it uses.
> If I can find a way to modify the priorities then I could attempt some sort
> of load balancing with the rest of my RTEMS tasks in order to make the
> system work better as a whole.
> So, how would I list the POSIX threads and their priorities?
Sebastian gave you one way. There is also the RTEMS GDB macros
which should provide this information.
Remember 1 is most important in Classic API and least important
in POSIX Threads.
If they are using priority ceiling on mutexes, then that is a potential
problem area when integrating.
> Thanks in advance.
> Nick Thomas
> Email: nick.thomas at pixsan.com
> rtems-users mailing list
> rtems-users at rtems.org
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the users