thread()
StructureDescription
Runs a function on a new detached thread. Accepts a lambda or std::function.
Syntax
void thread(std::function fn)
Parameters
| Name | Type | Description |
|---|---|---|
| fn | std::function | the function to run on a separate thread |
Returns
voidRelated
Under the Hood
Implementation in Processing.h / Processing.cpp:
Loading...