Searched refs:__gthread_active (Results 1 - 2 of 2) sorted by relevance

/freebsd-10.0-release/contrib/gcc/
H A Dgthr-posix.h162 static volatile int __gthread_active = -1; variable
167 __gthread_active = 1;
176 /* Avoid reading __gthread_active twice on the main code path. */
177 int __gthread_active_latest_value = __gthread_active;
180 path so every update of __gthread_active in a threaded program must
187 __gthread_active has been set to 1 before exiting this block. */
194 if (__gthread_active < 0)
195 __gthread_active = 0;
197 __gthread_active_latest_value = __gthread_active;
H A Dgthr-posix95.h128 static volatile int __gthread_active = -1; variable
133 __gthread_active = 1;
142 /* Avoid reading __gthread_active twice on the main code path. */
143 int __gthread_active_latest_value = __gthread_active;
146 path so every update of __gthread_active in a threaded program must
153 __gthread_active has been set to 1 before exiting this block. */
160 if (__gthread_active < 0)
161 __gthread_active = 0;
163 __gthread_active_latest_value = __gthread_active;

Completed in 75 milliseconds