aboutsummaryrefslogtreecommitdiffhomepage
path: root/proc.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-03-31 15:33:34 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-03-31 15:33:34 -0700
commit268fb375171668e2d85a147c7614e89ce1bd46f6 (patch)
treea28c9bbeee947155a649828578b3684f5b38aa7d /proc.h
parentff1710131687075e819afcb045ed35924822b682 (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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/proc.h b/proc.h
index 45de45a1..ae8a8543 100644
--- a/proc.h
+++ b/proc.h
@@ -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