An open API service indexing awesome lists of open source software.

https://github.com/tinkerer-red/MultiProcessing

A simple MultiProcessing example in gml. With a heavy focus on simplicity for newer users.
https://github.com/tinkerer-red/MultiProcessing

Last synced: 13 days ago
JSON representation

A simple MultiProcessing example in gml. With a heavy focus on simplicity for newer users.

Awesome Lists containing this project

README

          

# MultiProcessing
A simple MultiProcessing example in gml. With a heavy focus on simplicity for newer users.

### Example:
```gml
///create
factorial = function(_x) {
var _t = _x-1;
var _v = _x;
repeat (_x-2){
_t--;
_v *= _t;
}
return _v;
}

callback_example = function(_response) {
show_debug_message(string("Factorial Value: {0}", _response))
}

//key-release [spacebar]
for (var _i=0; _i<=1_000; _i++) {
remote_execute(factorial, [_i], callback_example);
}
```