diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-24 11:52:14 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-24 11:52:14 +0400 |
commit | b8a71efeba70d6c3ebc579f5043daa4162da86e8 (patch) | |
tree | d2d89da2a59f8955583f4968a35e48c578fd4d4c /source/blender/blenlib/intern/threads.c | |
parent | 81d8f17843f92c6d6abbacb652ca22917910f4bc (diff) |
style cleanup: follow style guide for/with/if spacing
Diffstat (limited to 'source/blender/blenlib/intern/threads.c')
-rw-r--r-- | source/blender/blenlib/intern/threads.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/blenlib/intern/threads.c b/source/blender/blenlib/intern/threads.c index 17edc18b7bb..19d9c2a9c65 100644 --- a/source/blender/blenlib/intern/threads.c +++ b/source/blender/blenlib/intern/threads.c @@ -79,7 +79,7 @@ static void *thread_tls_data; * BLI_init_threads(&lb, do_something_func, maxthreads); * * while (cont) { - * if(BLI_available_threads(&lb) && !(escape loop event)) { + * if (BLI_available_threads(&lb) && !(escape loop event)) { * // get new job (data pointer) * // tag job 'processed * BLI_insert_thread(&lb, job); @@ -88,17 +88,17 @@ static void *thread_tls_data; * * // find if a job is ready, this the do_something_func() should write in job somewhere * cont= 0; - * for(go over all jobs) - * if(job is ready) { - * if(job was not removed) { + * for (go over all jobs) + * if (job is ready) { + * if (job was not removed) { * BLI_remove_thread(&lb, job); * } * } * else cont= 1; * } * // conditions to exit loop - * if(if escape loop event) { - * if(BLI_available_threadslots(&lb)==maxthreads) + * if (if escape loop event) { + * if (BLI_available_threadslots(&lb)==maxthreads) * break; * } * } |