Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jul 2000 12:45:56 -0700 (PDT)
From:      Archie Cobbs <archie@whistle.com>
To:        Doug White <dwhite@resnet.uoregon.edu>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: kevent()/kqueue() in a multithreaded environment
Message-ID:  <200007281945.MAA26198@bubba.whistle.com>
In-Reply-To: <Pine.BSF.4.21.0007271246160.56534-100000@resnet.uoregon.edu> from Doug White at "Jul 27, 2000 02:08:43 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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?

-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com


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?200007281945.MAA26198>