Difference between revisions of "Processes"
From Mesham
Jump to navigationJump to searchm (4 revisions imported) |
|||
(2 intermediate revisions 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'' | ||
[[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