From owner-freebsd-hackers Tue Jan 30 11: 4:51 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from email_server.midstream.com (unknown [63.113.115.195]) by hub.freebsd.org (Postfix) with ESMTP id 5EF9637B6AE for ; Tue, 30 Jan 2001 11:04:34 -0800 (PST) Received: by EMAIL_SERVER with Internet Mail Service (5.5.2650.21) id ; Tue, 30 Jan 2001 11:07:15 -0800 Message-ID: <31E4B6337A4FD411BD45000102472E0C05E74C@EMAIL_SERVER> From: Jeff Roberson To: "'freebsd-hackers@freebsd.org'" Subject: Kevents/libc_r ? Date: Tue, 30 Jan 2001 11:07:05 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C08AEF.DB31E600" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C08AEF.DB31E600 Content-Type: text/plain; charset="iso-8859-1" Does anyone know if it's safe to use kevents with pthreads yet? I poked around and saw that it is handled in libc_r/uthread, but I also noticed that my process that should be waiting in kqread is actually waiting in poll. If I remove -pthread from the compile line it waits in kqread again! Is pthreads just using poll for timeouts? Thanks, Jeff ------_=_NextPart_001_01C08AEF.DB31E600 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Kevents/libc_r ?

Does anyone know if it's safe to use kevents with = pthreads yet?  I poked around and saw that it is handled in = libc_r/uthread, but I also noticed that my process that should be = waiting in kqread is actually waiting in poll.  If I remove = -pthread from the compile line it waits in kqread again!  Is = pthreads just using poll for timeouts?

Thanks,
Jeff

------_=_NextPart_001_01C08AEF.DB31E600-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message