#include <pthread.h>
#include <stdio.h>
main( )
{
#ifdef _POSIX_THREAD_PRIO_INHERIT
printf("_POSIX_THREAD_PRIO_INHERIT supported\n");
#else
printf("_POSIX_THREAD_PRIO_INHERIT not supported\n");
#endif
#ifdef _POSIX_THREAD_PRIO_CEILING
printf("_POSIX_THREAD_PRIO_CEILING supported\n");
#else
printf("_POSIX_THREAD_PRIO_CEILING not supported\n");
#endif
}
both are supposedly unsupported, which I find very suprising, since my
understanding is that linux threads are esentially processes under the
hood, and it's a simple matter to change the priority of a process. Am I
doing something stupid with the above? I'm sorry if this question is
remedial, but I have asked elsewhere and gotten no response.
__
GNU GPL: "The Source will be with you... always."
Britton Kerin
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/