Date: Sun, 8 Mar 1998 13:57:51 +1100 (EST) From: John Birrell <jb@cimlogic.com.au> To: mike@smith.net.au (Mike Smith) Cc: jb@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: Re: cvs commit: src/lib/libc_r/uthread pthread_private.h uthread_yield.c Message-ID: <199803080257.NAA10467@cimlogic.com.au> In-Reply-To: <199803080250.SAA08053@dingo.cdrom.com> from Mike Smith at "Mar 7, 98 06:50:16 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Mike Smith wrote: > > jb 1998/03/07 18:37:28 PST > > > > Modified files: > > lib/libc_r/uthread pthread_private.h uthread_yield.c > > Log: > > Add sched_yield() witch is the draft 10 equivalent of pthread_yield() > > from draft 4. Move some of the schedule definitions to sched.h which > > is a POSIX header. > > Is this going to conflict with the upcoming sched_yield() syscall? No. That will just gets renamed to _thread_sys_sched_yield() (and ignored) when built into libc_r. The syscalls yield, thr_sleep and thr_wakeup all need work (and preferably renaming to add underscores before their names to keep the user namespace clean) to provide a POSIX kernel thread implementation. I have a prototype for this, but currently no way of getting the running thread back to user-space reliably (my implementation only works 95% of the time 8-(). -- John Birrell - jb@cimlogic.com.au; jb@freebsd.org CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803080257.NAA10467>