Difference between revisions of "Notify"

From Mesham
Jump to navigationJump to search
(Created page with '== Overview == This notify(n) function will notify process ''n'', this target process can wait on or test for a notification * '''Pass:''' an Int representing the process I…')
 
Line 4: Line 4:
  
 
* '''Pass:''' an [[Int]] representing the process ID to notify
 
* '''Pass:''' an [[Int]] representing the process ID to notify
* '''Returns:''' nothing
+
* '''Returns:''' Nothing
  
 
== Example ==
 
== Example ==

Revision as of 11:12, 19 October 2016

Overview

This notify(n) function will notify process n, this target process can wait on or test for a notification

  • Pass: an Int representing the process ID to notify
  • Returns: Nothing

Example

#include <parallel>

function void main() {
   proc 1 {
      notify(1);
   };
};

Since: Version 1.00