Function

VipsThreadpoolProgressFn

Declaration

int
(* VipsThreadpoolProgressFn) (
  void* a
)

Description [src]

This function is called by the main thread once for every work unit processed. It can be used to give the user progress feedback.

::: seealso vips_threadpool_run().

Parameters

a void*
 

Client data.

 The argument can be NULL.
 The data is owned by the caller of the function.

Return value

Returns: int
 

0 on success, or -1 on error.