[kaffe] unix-pthreads accept timeout
Godmar Back
gback@stanford.edu
Wed, 7 Aug 2002 09:18:01 -0600 (MDT)
>
> Ok,
> I changed it. I also put a check to see if the timeout is 0 to pass NULL to
> select() and added a timeout*1000 since usecs and millisecs arent the same.
> My java programmer here seems to say it works.
>
Why don't you use the structure suggested by the BREAK_IF_LATE
macros and companions? If select returns EINTR (which I don't think
is illegal), then your code thinks it's a timeout.
- Godmar