diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-02-20 01:23:21 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-02-20 01:23:21 +0300 |
commit | 82d769c79f5e18b5b33030c188e3b2b93f9a346b (patch) | |
tree | 688cf07fed8e67cdc247bc0c8f23042a56761e0f /source/blender/blenlib/BLI_threads.h | |
parent | 190a35f690b1048a32547a4cb0de369e3f7dde4b (diff) |
automatic threads, next to the Threads button, so you can set threads to use whatever the system has, useful in the studio with 2,4,8 core systems when sharing files.
Diffstat (limited to 'source/blender/blenlib/BLI_threads.h')
-rw-r--r-- | source/blender/blenlib/BLI_threads.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_threads.h b/source/blender/blenlib/BLI_threads.h index 60ecce3f9d8..39162b8bd91 100644 --- a/source/blender/blenlib/BLI_threads.h +++ b/source/blender/blenlib/BLI_threads.h @@ -50,5 +50,6 @@ void BLI_end_threads (struct ListBase *threadbase); void BLI_lock_thread (int type); void BLI_unlock_thread (int type); +int BLI_system_thread_count( void ); /* gets the number of threads the system can make use of */ #endif |