Function
VipsThreadpoolAllocateFn
Description [src]
This function is called to allocate a new work unit for the thread. It is always single-threaded, so it can modify per-pool state (such as a counter).
It should set stop to TRUE to indicate that no work could be allocated
because the job is done.
See also
Parameters
state-
Type:
VipsThreadStatePer-thread state.
The data is owned by the caller of the function. a-
Type:
void*Client data.
The argument can be NULL.The data is owned by the caller of the function. stop-
Type:
gboolean*Set this to signal end of computation.
The data is owned by the caller of the function.