[kaffe] unix-pthreads accept timeout

Godmar Back gback at cs.utah.edu
Wed Aug 7 08:18:01 PDT 2002

> 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

More information about the kaffe mailing list