Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenlib/BLI_threads.h
| Show All 40 Lines | |||||
| 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); | ||||
| void BLI_threadapi_exit(void); | void BLI_threadapi_exit(void); | ||||
| struct TaskScheduler *BLI_task_scheduler_get(void); | |||||
| void BLI_threadpool_init(struct ListBase *threadbase, void *(*do_thread)(void *), int tot); | void BLI_threadpool_init(struct ListBase *threadbase, void *(*do_thread)(void *), int tot); | ||||
jbakker: Remove line | |||||
| int BLI_available_threads(struct ListBase *threadbase); | int BLI_available_threads(struct ListBase *threadbase); | ||||
| int BLI_threadpool_available_thread_index(struct ListBase *threadbase); | int BLI_threadpool_available_thread_index(struct ListBase *threadbase); | ||||
| void BLI_threadpool_insert(struct ListBase *threadbase, void *callerdata); | void BLI_threadpool_insert(struct ListBase *threadbase, void *callerdata); | ||||
| void BLI_threadpool_remove(struct ListBase *threadbase, void *callerdata); | void BLI_threadpool_remove(struct ListBase *threadbase, void *callerdata); | ||||
| void BLI_threadpool_remove_index(struct ListBase *threadbase, int index); | void BLI_threadpool_remove_index(struct ListBase *threadbase, int index); | ||||
| void BLI_threadpool_clear(struct ListBase *threadbase); | void BLI_threadpool_clear(struct ListBase *threadbase); | ||||
| void BLI_threadpool_end(struct ListBase *threadbase); | void BLI_threadpool_end(struct ListBase *threadbase); | ||||
| int BLI_thread_is_main(void); | int BLI_thread_is_main(void); | ||||
| ▲ Show 20 Lines • Show All 149 Lines • Show Last 20 Lines | |||||
Remove line