Date: Sat, 31 Oct 1998 13:18:12 -0800 From: Mike Smith <mike@smith.net.au> To: John Birrell <jb@cimlogic.com.au> Cc: lists@tar.com, current@FreeBSD.ORG Subject: Re: Kernel threading (was Re: Thread Scheduler bug) Message-ID: <199810312118.NAA00662@dingo.cdrom.com> In-Reply-To: Your message of "Sun, 01 Nov 1998 07:43:04 %2B1100." <199810312043.HAA10845@cimlogic.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
> Richard Seaman, Jr. wrote: > > If this general approach is of any interest, let me know. > > Kernel threads should use libpthread and libc, not libc_r. You can't mix > kernel thread syscalls with user-thread syscalls because the styles are > incompatible (blocking vs non-blocking). You can't mix kernel thread > scheduling with user-thread scheduling. It doesn't sound like you have > made any attempt to update the user-space knowledge of the running thread. > As a result you will mix all errno codes and all user-space locking. This > is a fundamental issue that needs to be designed, not hacked. It sounds like the two of you should cooperate on it then; Richard has clearly managed to get his head around at least some of the kernel issues, while you're on top of the user-space stuff. This issue calls for constructive cooperation as well as design. 8) -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810312118.NAA00662>