Blender  V3.3
Public Attributes | List of all members
TaskParallelTLS Struct Reference

#include <BLI_task.h>

Public Attributes

voiduserdata_chunk
 

Detailed Description

Per-thread specific data passed to the callback.

Definition at line 137 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 142 of file BLI_task.h.

Referenced by BLI_task_parallel_mempool(), BLI_task_parallel_range(), and parallel_iterator_func_do().


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