Skip to content

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

License

Notifications You must be signed in to change notification settings

tinkerer-red/MultiProcessing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MultiProcessing

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

Example:

///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);
}

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published