diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-09-28 09:53:40 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-09-28 09:53:40 +0400 |
commit | 018fa1540eaef603b28c04fd5b8533d21122e36f (patch) | |
tree | 2e837a5f77c8d3ad99dba3cee6fba4c57dcc9bbe /source/blender/blenlib/intern/threads.c | |
parent | 4208eed25ba1596d79f15ac33442b552ad796161 (diff) |
whitespace edits, make formatting for functions consustent at least within the file.
Diffstat (limited to 'source/blender/blenlib/intern/threads.c')
-rw-r--r-- | source/blender/blenlib/intern/threads.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/threads.c b/source/blender/blenlib/intern/threads.c index f9cd675dd8c..097ad2bcd74 100644 --- a/source/blender/blenlib/intern/threads.c +++ b/source/blender/blenlib/intern/threads.c @@ -218,7 +218,8 @@ static void *tslot_thread_start(void *tslot_p) return tslot->do_thread(tslot->callerdata); } -int BLI_thread_is_main(void) { +int BLI_thread_is_main(void) +{ return pthread_equal(pthread_self(), mainid); } |