Changes in src/libcfa/concurrency/monitor [f07e037:51f3798]
- File:
-
- 1 edited
-
src/libcfa/concurrency/monitor (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/monitor
rf07e037 r51f3798 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 32 45 #endif //MONITOR_H
Note:
See TracChangeset
for help on using the changeset viewer.