ExecPool's icon

ExecPool 1.0.1 Misc 3.4 Community

Submitted by user z80; GPLv3; 2022-08-11

Thread pool for asynchronous tasks execution. It runs tasks in a number of parallel threads. On each task completion it calls a callback specified.

One can specify how many threads to use or use the default number which is OS.get_processor_count()-1.

Usage example: ExecPool.start( my_object, "method_to_call", "callback_name" ).

See "res://addons/exec_pool/examples/exec_pool_example.tscn" example scene.

View files Download Submit an issue Recent Edits