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>2012-05-27 23:40:36 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-05-27 23:40:36 +0400
commitb33f0ef0e3c12fcb57217d1653e60aa957b938fc (patch)
treea8fc31f587031627ca59a1e842ce05f1096e3e6a /source/blender/blenlib/intern/threads.c
parent295aa880e96602885e43993d3604d9c7330b9084 (diff)
style cleanup
Diffstat (limited to 'source/blender/blenlib/intern/threads.c')
-rw-r--r--source/blender/blenlib/intern/threads.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenlib/intern/threads.c b/source/blender/blenlib/intern/threads.c
index 4f5ea0b23bd..f9f677d7c22 100644
--- a/source/blender/blenlib/intern/threads.c
+++ b/source/blender/blenlib/intern/threads.c
@@ -71,8 +71,8 @@ static void *thread_tls_data;
* A sample loop can look like this (pseudo c);
*
* ListBase lb;
- * int maxthreads= 2;
- * int cont= 1;
+ * int maxthreads = 2;
+ * int cont = 1;
*
* BLI_init_threads(&lb, do_something_func, maxthreads);
*
@@ -85,14 +85,14 @@ static void *thread_tls_data;
* else PIL_sleep_ms(50);
*
* // find if a job is ready, this the do_something_func() should write in job somewhere
- * cont= 0;
+ * cont = 0;
* for (go over all jobs)
* if (job is ready) {
* if (job was not removed) {
* BLI_remove_thread(&lb, job);
* }
* }
- * else cont= 1;
+ * else cont = 1;
* }
* // conditions to exit loop
* if (if escape loop event) {