|
P99
|
Value:
P00_BLK_START \ P00_BLK_DECL_STATIC(atomic_flag, P99_LINEID(crit), ATOMIC_FLAG_INIT) \ P99_SPIN_EXCLUDE(P99_LINEID(crit)) Protect the following block or statement as a critical section of the program. Internally this uses a
P99_CRITICAL { // do some operations on a fragile resource here } Such a critical section is only protected against threads that try to enter this same critical section. Threads may well simultaneously be in different critical sections.
Definition at line 1372 of file p99_atomic.h. |
1.7.6.1