Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/concurrency/monitor

    r17af7d1 r348006f  
    3434}
    3535
     36//Basic entering routine
     37void enter(monitor_desc *);
     38void leave(monitor_desc *);
     39
    3640//Array entering routine
    3741void enter(monitor_desc **, int count);
     
    4549static inline int ?<?(monitor_desc* lhs, monitor_desc* rhs) {
    4650        return ((intptr_t)lhs) < ((intptr_t)rhs);
     51}
     52
     53static inline void ?{}( monitor_guard_t * this, monitor_desc ** m ) {
     54        this->m = m;
     55        this->count = 1;
     56        enter( *this->m );
    4757}
    4858
Note: See TracChangeset for help on using the changeset viewer.