From owner-freebsd-current Tue Jun 9 02:22:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA02893 for freebsd-current-outgoing; Tue, 9 Jun 1998 02:22:43 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from totally.damaged.org (totally.damaged.org [198.142.63.35]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA02887 for ; Tue, 9 Jun 1998 02:22:37 -0700 (PDT) (envelope-from simon@totally.damaged.org) Received: (from simon@localhost) by totally.damaged.org (8.8.8/8.8.8) id TAA20311; Tue, 9 Jun 1998 19:22:08 +1000 (EST) (envelope-from simon) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <199806090059.KAA09492@cimlogic.com.au> Date: Tue, 09 Jun 1998 19:22:07 +1000 (EST) From: Simon Coggins To: John Birrell Subject: Re: More problems with Threads on -current. Cc: freebsd-current@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 09-Jun-98 John Birrell wrote: > Simon Coggins wrote: >> >> Got another one for you :) >> >> Seems with threads there is something wrong with how fcntl() works, >> fcntl(fd, >> F_SETFD, 1) doesn't work when you compile against libc_r. > > The fix for this will be part of the next commit. F_SETFD/F_GETFD were > silently ignored. 8-( > So I noticed when I checked out the source code. I've gotten past that (the guys who do pike write a workaround for using F_SETFD). Next problem I'm having is with _thread_sys_select() it doesn't seem to be waking up when an FD is active. I'll try and write some code to display this and will get back to you. Regards Simon +---------------------------------------------------------------+ | Email: chaos@ultra.net.au, chaos@oz.org, simon@bofh.com.au | | http://www.ultra.net.au/~chaos Ultranet Technical Admin. | | Chaos on IRC, IRC Operator for the OzORG Network | +---------------------------------------------------------------+ --- SCCS, the source motel! Programs check in and never check out! -- Ken Thompson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message