Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Jun 1998 19:22:07 +1000 (EST)
From:      Simon Coggins <chaos@oz.org>
To:        John Birrell <jb@cimlogic.com.au>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: More problems with Threads on -current.
Message-ID:  <XFMail.980609192207.chaos@oz.org>
In-Reply-To: <199806090059.KAA09492@cimlogic.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.980609192207.chaos>