diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-03-31 15:33:34 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-03-31 15:33:34 -0700 |
commit | 268fb375171668e2d85a147c7614e89ce1bd46f6 (patch) | |
tree | a28c9bbeee947155a649828578b3684f5b38aa7d /proc.h | |
parent | ff1710131687075e819afcb045ed35924822b682 (diff) |
Cleanup proc_had_barrier
Ensure we don't try to do a universal barrier off of the main thread
Diffstat (limited to 'proc.h')
-rw-r--r-- | proc.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -464,7 +464,8 @@ class job_iterator_t { Both setting it to one when it should be zero and the opposite may cause concurrency bugs. */ -extern int proc_had_barrier; +bool get_proc_had_barrier(); +void set_proc_had_barrier(bool flag); /** Pid of last process to be started in the background |