[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: pthread_mutexattr_setprioceiling, pthread_mutexattr_setprotocol missing in GNU/kFreeBSD?



Hi.

suggesting that the functions I'm looking for are missing entirely.
Is that so?

Yes.
They are optional part, see

http://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_mutexattr_setprioceiling.html
http://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_mutexattr_setprotocol.html

We do not (yet) support
Thread Priority Protection or Thread Priority Inheritance options.
We advertise this in our <bits/posix_opt.h> by

/* No support for priority inheritance or protection.  */
#define _POSIX_THREAD_PRIO_INHERIT      -1
#define _POSIX_THREAD_PRIO_PROTECT      -1

Petr


Reply to: