linuxthreads question

Ulrich Drepper drepper@cygnus.com
Thu Jul 16 09:50:00 GMT 1998


Zack Weinberg <zack@rabi.phys.columbia.edu> writes:

> The pthread_attr_setschedpolicy function returns ENOTSUP if you try to
> set a realtime scheduling policy and you aren't the superuser.
> Shouldn't that be EPERM?

I've now changed the thread library to not check the value when
creating the attribute but instead in the manager thread before
cloning.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------



More information about the Libc-hacker mailing list