A message for data waiting at a socket?

Dar Scott dsc at swcp.com
Sat Jan 3 00:40:53 EST 2004


On Friday, January 2, 2004, at 10:34 PM, Doug Lerner wrote:

> But... what happens if no data is present? Wouldn't it cause a
> cpu-intensive-slowing-down loop like:
>
> read
> nothing's there so finished so signal read
>
> ?

No.  Isn't that cool?

How would you know that?  For me I wanted it so bad, when I first 
started using revolution that I experimented until I found it.

The read completes only then the buffer is non-empty.

Uh, what OS are you using?

Dar Scott



More information about the use-livecode mailing list