linuxthreads question
Thomas Bushnell, n/BSG
tb@MIT.EDU
Wed Jul 15 08:03:00 GMT 1998
Date: Wed, 15 Jul 1998 11:01:05 -0400
From: Zack Weinberg <zack@rabi.phys.columbia.edu>
There's an implementation issue: the system call that actually sets
the priority is made in the child thread (in pthread_start_thread),
where getting a failure code back to the caller is awkward.
Ah, I see this now. In Mach we have the advantage of getting to
manipulate the thread from elsewhere, so this kind of issue is much
easier to deal with.
For the moment perhaps we should just take out the check in
pthread_attr_setschedpolicy and document the issue.
I think that's probably the right thing for now.
More information about the Libc-hacker
mailing list