[PATCH] Re: [kaffe] darwin6 problems

Noa Resare noa at resare.com
Fri Sep 17 00:43:00 PDT 2004


On fre, 2004-09-17 at 09:08 +0200, Guilhem Lavaux wrote:
> Noa Resare wrote:
> > On tor, 2004-09-16 at 19:35 +0200, Guilhem Lavaux wrote:
> > 
> >>I fear "poll" is not implemented on darwin6. This was the patch about 
> >>jthreadedRecvFrom. We must implement a backup code.
> >>
> > 
> > 
> > Here's a patch that uses select() instead of poll() in
> > jthreadedRecvFrom. WorksForMe^TM, but on the other hand I don't have
> > access to any darwin6 systems.
> > 
> > cheers/noa
> > 
> 
> Actually, I have a question. Would it be possible to use directly 
> waitForTimeout(). It looks to do the same thing (but with error reporting).

Oh, I didn't see that one. Of course it is better to reuse
waitForTimeout. As an additional benefit it takes into that tv.tv_usec
actually holds microseconds, not milliseconds :)

Apparently I should spend more time reading code and less time coding.

/noa

-- 
And the lions ate the christians and the christians burned the witches,
and even I am out of explanations -- Ola Salo
gpg fingerprint: F3C4 AC90 B885 FE15 344B  4D05 220B 7662 A190 6F09





More information about the kaffe mailing list