Waitany

Overview
This waitany function will block and wait for a notification from any process. The id of that process is returned.


 * Pass: Nothing
 * Returns: The id of the process that notified this process.

Example
function void main { proc 1 { notify(0); };  proc 0 { var p:=waitany; }; };
 * 1) include

Since: Version 1.00