A "sleep" command without "receive"

Corrado Santoro csanto@REDACTED
Mon Feb 2 11:20:09 CET 2004

Quoting Matthias Lang <matthias@REDACTED>: 
> You have misunderstood how 'receive' works and you have somehow 
> tricked yourself into seeing behaviour which cannot and does not 
> occur.  
Quoting Samuel Tardieu <sam@REDACTED>: 
> You seem confused about what the above code does: it does not get any 
> incoming message and sleeps for T milliseconds, regardless of whether 
> an incoming message arrives in the mean time or is already present. 
Right, right, right. Thanks Sam and Matthias. Very silly question. I checked 
the program and discovered that the problem *was not* there! 
Thank you very much for your clarification. 
Eng. Corrado Santoro, Ph.D. 
University of Catania - Engineering Faculty 
Department of Computer Science and 
Telecommunications Engineering 
Viale A. Doria, 6 - 95125 CATANIA (ITALY) 
Tel: +39 095 7382364           Fax: +39 095 338280 
     +39 095 7382365 
     +39 095 7382380 
EMail: csanto@REDACTED 
Personal Home Page: 
NUXI Home Page: 

This mail sent through IMP: http://www.cdc.unict.it/

More information about the erlang-questions mailing list