Difference between revisions of "Processes"

From Mesham
Jump to navigationJump to search
m
m (4 revisions imported)
 
(One intermediate revision by the same user not shown)
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''

Latest revision as of 15:44, 15 April 2019

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