From owner-freebsd-hackers Thu Jul 27 8:44:39 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from animaths.com (AMontsouris-101-2-95.abo.wanadoo.fr [193.251.54.95]) by hub.freebsd.org (Postfix) with SMTP id 9361937B8A6 for ; Thu, 27 Jul 2000 08:44:33 -0700 (PDT) (envelope-from nicolas.leonard@animaths.com) Received: (qmail 5891 invoked by uid 31); 26 Jul 2000 07:40:15 -0000 Received: from nicolas.leonard@animaths.com by ns.masa.com with scan4virus-0.53 (uvscan: v4.0.70/v4085. . Clean. Processed in 0.236951 secs); 26/07/2000 09:40:15 Received: from nld.masa.com (HELO nld) (172.16.2.15) by ns.masa.com with SMTP; 26 Jul 2000 07:40:15 -0000 Message-ID: <011b01bff6d4$778dbae0$0f0210ac@masa.com> From: =?Windows-1252?Q?Nicolas_L=E9onard?= To: Subject: kevent()/kqueue() in a multithreaded environment Date: Wed, 26 Jul 2000 09:38:18 +0200 Organization: =?Windows-1252?Q?Math=E9matiques_Appliqu=E9es_SA?= MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello I'm trying to use the new kqueue()/kevent() syscalls in the last snapshot of FreeBSD 5.0. It works perfectly, except when I'm trying to use it in a multi- threaded program. The call of kevent() by my network thread blocks the other thread. I look in the libc_r sources and I found that this syscall isn't already wrapped. Does anybody know if there is a patch or another tips to make it work ? Thanks Leon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message