{"repo":"zig-gamedev/zjobs","free":true,"listed":false,"github":"https://github.com/zig-gamedev/zjobs","clone":"git clone https://github.com/zig-gamedev/zjobs.git","description":"Generic job queue implementation for Zig.","language":"Zig","stars":16,"topics":["gamedev","job-queue","multithreading","zig"],"license":"MIT","category":"game-templates","readme_excerpt":"zjobs Generic job queue implementation for Zig. In order to take full advantage of modern multicore CPUs, it is necessary to run much of your application logic on separate threads. This JobQueue provides a simple API to schedule \"jobs\" to run on a pool of threads, typically as many threads as your CPU supports, less 1 (the main thread). Each \"job\" is a user-defined struct that declares a exec function that will be executed on a background thread by the JobQueue . Getting started Example build.zig : Example Usage The following example is also a test case in zjobs.zig :","default_branch":null,"files":null,"tree":[],"storefront":"/r/zig-gamedev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/zig-gamedev/zjobs/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}