Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tests/monitor.c

    r3bb51e1 r51f3798  
    1616
    1717void increment( /*mutex*/ global_t * this ) {
    18         enter( &this->m );
     18        monitor_guard g = { &this->m };
    1919        this->value += 1;
    20         leave( &this->m );
    2120}
    2221
Note: See TracChangeset for help on using the changeset viewer.