Difference between revisions of "Processes"

From Mesham
Jump to navigationJump to search
(Created page with '== Overview == This processes[] function will return the number of processes * '''Pass:''' Nothing * '''Returns:''' An integer representing the number of processes == Example …')
 
m (4 revisions imported)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
== Overview ==
 
== Overview ==
  
This processes[] function will return the number of processes
+
This processes() function will return the number of processes
  
 
* '''Pass:''' Nothing
 
* '''Pass:''' Nothing
* '''Returns:''' An integer representing the number of processes
+
* '''Returns:''' An [[Int]] representing the number of processes
  
 
== Example ==
 
== Example ==
  
  var a:=processes[];
+
  #include <parallel>
 +
 +
function void main() {
 +
    var a:=processes();
 +
};
 +
 
 +
''Since: Version 0.41b''
  
 
[[Category:Function Library]]
 
[[Category:Function Library]]
 
[[Category:Parallel Functions]]
 
[[Category:Parallel Functions]]

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