Changes in src/libcfa/concurrency/monitor [51f3798:f07e037]
- File:
-
- 1 edited
-
src/libcfa/concurrency/monitor (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/monitor
r51f3798 rf07e037 30 30 void leave(monitor *); 31 31 32 struct monitor_guard {33 monitor * m;34 };35 36 static inline void ?{}( monitor_guard * this, monitor * m ) {37 this->m = m;38 enter( this->m );39 }40 41 static inline void ^?{}( monitor_guard * this ) {42 leave( this->m );43 }44 45 32 #endif //MONITOR_H
Note:
See TracChangeset
for help on using the changeset viewer.