Blender V4.3
TaskParallelTLS Struct Reference

#include <BLI_task.h>

Public Attributes

void * userdata_chunk
 

Detailed Description

Per-thread specific data passed to the callback.

Definition at line 141 of file BLI_task.h.

Member Data Documentation

◆ userdata_chunk

void* TaskParallelTLS::userdata_chunk

Copy of user-specifier chunk, which is copied from original chunk to all worker threads. This is similar to OpenMP's firstprivate.

Definition at line 146 of file BLI_task.h.

Referenced by BLI_task_parallel_mempool(), and BLI_task_parallel_range().


The documentation for this struct was generated from the following file: