This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: linuxthreads question
- To: zack@rabi.phys.columbia.edu
- Subject: Re: linuxthreads question
- From: tb@MIT.EDU (Thomas Bushnell, n/BSG)
- Date: Wed, 15 Jul 1998 11:03:45 -0400
- Cc: roland@frob.com, libc-hacker@cygnus.com
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.