Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tests/monitor.c

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