From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <3d938291341b36e441485d1cf0d3a08f@proxima.alt.za> To: 9fans@9fans.net Date: Thu, 27 Nov 2008 17:16:09 +0200 From: lucio@proxima.alt.za In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] APE and listen(2B) Topicbox-Message-UUID: 53635396-ead4-11e9-9d60-3106f5b1d025 > the real solution involves reference counting. but in your case, > not forking would make more sense. in fact, if you wanted > to start reveal from listen(1), you could dispense with the > for(;;) and the fork. Of course, but the point is to implement a Posix utility under APE, specially as the ultimate goal is GCC compatibility. So I'll need to implement it properly. Now, the code suggests that the purpose of the separate proc is to support poll/select, but I do not understand quite how it all works (no concept of timeout that I can see, for example). I need somebody to explain to me how it is meant to work and I'll probably code it adequately. ++L