Date: Fri, 28 Jul 2000 16:13:58 -0400 (EDT) From: Daniel Eischen <eischen@vigrid.com> To: Archie Cobbs <archie@whistle.com> Cc: Doug White <dwhite@resnet.uoregon.edu>, hackers@FreeBSD.ORG Subject: Re: kevent()/kqueue() in a multithreaded environment Message-ID: <Pine.SUN.3.91.1000728161200.8919A-100000@pcnet1.pcnet.com> In-Reply-To: <200007281945.MAA26198@bubba.whistle.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 28 Jul 2000, Archie Cobbs wrote: > Doug White writes: > > You normally wouldn't mix kqueue and threads; you'd use kqueue to > > *implement* threads. :-) > > > > AFAIK kqueue hasn't been made threadsafe, you'll have to bug > > jlemon@freebsd.org about it. Patches gladly accepted :) > > I may be just being stupid but I don't understand that last sentence. > > I thought kqueue() and kevent() were system calls... how can they > not be thread safe? They really mean "wrapped by the threads library" so that kqueue doesn't block other threads from running. -- Dan Eischen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.91.1000728161200.8919A-100000>