Lines Matching refs:globals_mutex

54 static pthread_mutex_t globals_mutex = PTHREAD_MUTEX_INITIALIZER;  variable
108 LOCK_GUARD(globals_mutex); in getNumConcurrentJobs()
118 P(globals_mutex); // be sure globals is initialized in incNumConcurrentJobs()
120 V(globals_mutex); in incNumConcurrentJobs()
129 P(globals_mutex); in getBSOCK()
133 V(globals_mutex); in getBSOCK()
139 P(globals_mutex); in getBSOCK_state()
143 V(globals_mutex); in getBSOCK_state()
149 P(globals_mutex); in setBSOCK()
153 V(globals_mutex); in setBSOCK()
159 P(globals_mutex); in address()
166 V(globals_mutex); in address()
172 P(globals_mutex); in setAddress()
177 V(globals_mutex); in setAddress()
182 LOCK_GUARD(globals_mutex); in is_enabled()
193 P(globals_mutex); in setEnabled()
196 V(globals_mutex); in setEnabled()
212 LOCK_GUARD(globals_mutex); in getNumConcurrentJobs()
222 P(globals_mutex); in incNumConcurrentJobs()
224 V(globals_mutex); in incNumConcurrentJobs()
233 LOCK_GUARD(globals_mutex); in is_enabled()
244 P(globals_mutex); in setEnabled()
246 V(globals_mutex); in setEnabled()
262 LOCK_GUARD(globals_mutex); in getNumConcurrentReadJobs()
272 P(globals_mutex); in incNumConcurrentReadJobs()
274 V(globals_mutex); in incNumConcurrentReadJobs()
283 LOCK_GUARD(globals_mutex); in getNumConcurrentJobs()
293 P(globals_mutex); in incNumConcurrentJobs()
295 V(globals_mutex); in incNumConcurrentJobs()
304 LOCK_GUARD(globals_mutex); in is_enabled()
315 P(globals_mutex); in setEnabled()
317 V(globals_mutex); in setEnabled()
333 LOCK_GUARD(globals_mutex); in is_enabled()
344 P(globals_mutex); in setEnabled()
346 V(globals_mutex); in setEnabled()