Vips.concurrency_set (original) (raw)

Vips

API Version: 8.0

Library Version: 8.18

Functions

Function

Vipsconcurrency_set

Declaration [src]


void
vips_concurrency_set (
  int concurrency
)

Description [src]

Sets the number of worker threads that vips should use when runningvips_threadpool_run().

The special value 0 means “default”. In this case, the number of threads is set by the environment variable VIPS_CONCURRENCY, or if that is not set, the number of threads available on the host machine.

Parameters

concurrency

Type: int

Number of threads to run.