Difference between revisions of "Processes"

From Mesham
Jump to navigationJump to search
m
Line 8: Line 8:
 
== Example ==
 
== Example ==
  
  var a:=processes();
+
  #include <parallel>
 +
 +
function void main() {
 +
    var a:=processes();
 +
};
  
 
''Since: Version 0.41b''
 
''Since: Version 0.41b''

Revision as of 14:37, 15 April 2013

Overview

This processes() function will return the number of processes

  • Pass: Nothing
  • Returns: An Int representing the number of processes

Example

#include <parallel>

function void main() {
   var a:=processes();
};

Since: Version 0.41b