diff options
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/BLI_threads.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_threads.h b/source/blender/blenlib/BLI_threads.h index 5a7e84c42fb..8babb5fe780 100644 --- a/source/blender/blenlib/BLI_threads.h +++ b/source/blender/blenlib/BLI_threads.h @@ -53,6 +53,10 @@ void BLI_unlock_thread (int type); int BLI_system_thread_count( void ); /* gets the number of threads the system can make use of */ + /* exported by preview render, it has to ensure render buffers are not freed while draw */ +void BLI_lock_malloc_thread(void); +void BLI_unlock_malloc_thread(void); + /* ThreadedWorker is a simple tool for dispatching work to a limited number of threads in a transparent * fashion from the caller's perspective * */ |