Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenlib/BLI_threads.h
| Show All 36 Lines | |||||
| #include <pthread.h> | #include <pthread.h> | ||||
| #ifdef __APPLE__ | #ifdef __APPLE__ | ||||
| #include <libkern/OSAtomic.h> | #include <libkern/OSAtomic.h> | ||||
| #endif | #endif | ||||
| /* for tables, button in UI, etc */ | /* for tables, button in UI, etc */ | ||||
| #define BLENDER_MAX_THREADS 64 | #define BLENDER_MAX_THREADS 1024 | ||||
| struct ListBase; | struct ListBase; | ||||
| struct TaskScheduler; | struct TaskScheduler; | ||||
| /* Threading API */ | /* Threading API */ | ||||
| /*this is run once at startup*/ | /*this is run once at startup*/ | ||||
| void BLI_threadapi_init(void); | void BLI_threadapi_init(void); | ||||
| ▲ Show 20 Lines • Show All 157 Lines • Show Last 20 Lines | |||||