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


   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.


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