* src/misc/threads.c: Fixed a bug in handling of priorities : with POSIX