This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: linuxthreads question


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   `------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]