Blender V5.0
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 132 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 137 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: