[ Version ( since = "6.0" ) ]
public void* wait_job (owned WorkerFunc func) throws Error
Request that the worker thread call func with the data argument, much like
submit_job, but waits (blocks) until func has been executed.
Note: it's up to the caller to free the result, the Worker object will not do it (ownership of the result is transfered to the caller).
| this |
a Worker object |
| func |
the function to call from the worker thread |
| data |
the data to pass to |
| data_destroy_func |
a function to destroy |
|
the result of |