git: libc_r: Add inheritsched check in pthread_attr_setinheritsched().
Sascha Wildner
swildner at crater.dragonflybsd.org
Sun Feb 2 14:43:54 PST 2014
commit ce52c965bad4587b8129ef31d8b226590c2225bb
Author: Sascha Wildner <saw at online.de>
Date: Sun Feb 2 23:37:29 2014 +0100
libc_r: Add inheritsched check in pthread_attr_setinheritsched().
Per POSIX, "the supported values of inheritsched shall be:
PTHREAD_INHERIT_SCHED
[...]
PTHREAD_EXPLICIT_SCHED
[...]"
And, "the pthread_attr_setinheritsched() function may fail if:
[EINVAL]
The value of inheritsched is not valid."
Summary of changes:
lib/libc_r/uthread/uthread_attr_setinheritsched.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ce52c965bad4587b8129ef31d8b226590c2225bb
--
DragonFly BSD source repository
More information about the Commits
mailing list