Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-04-17 07:46:34 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-04-17 10:04:28 +0400
commit1b9db9911d9cbcb81d58277084b9c4c5daf84e8a (patch)
treeb840209b9de94432cb4e5d61567e46741870b504 /source/blender/blenlib/intern/threads.c
parent4219e44f1d89cfd6ccdf3adc0fd73e22ae7b6df3 (diff)
Code cleanup: use bools
also rename BLI_omp_thread_count -> BLI_system_thread_count_omp
Diffstat (limited to 'source/blender/blenlib/intern/threads.c')
-rw-r--r--source/blender/blenlib/intern/threads.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/threads.c b/source/blender/blenlib/intern/threads.c
index 95986b11292..0cdefac902d 100644
--- a/source/blender/blenlib/intern/threads.c
+++ b/source/blender/blenlib/intern/threads.c
@@ -350,8 +350,10 @@ void BLI_end_threads(ListBase *threadbase)
/* System Information */
-/* gets the number of openmp threads the system can make use of */
-int BLI_omp_thread_count(void)
+/**
+ * Returns the number of openmp threads the system can make use of
+ */
+int BLI_system_thread_count_omp(void)
{
int t;
#ifdef _OPENMP