This commit is contained in:
Patrick Pelissier committed 2017-12-28 00:36:54 +01:00
1 parent f2344c69ca
commit 998f97a95d
1 file changed
+1
+1
View File
@@ -3297,6 +3297,7 @@ Example:
worker_t worker;
worker_init(worker, 0, 0, NULL);
worker_sync_t sync;
worker_start(sync);
void *data = ...;
worker_spawn (worker, sync, taskFunc, data);
taskFunc(otherData);