Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/concurrency/monitor

    r51f3798 rf07e037  
    3030void leave(monitor *);
    3131
    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 
    4532#endif //MONITOR_H
Note: See TracChangeset for help on using the changeset viewer.