Changes in src/tests/monitor.c [2781e65:cc7f4b1]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/tests/monitor.c
r2781e65 rcc7f4b1 16 16 17 17 void increment( /*mutex*/ global_t * this ) { 18 __monitor_t * mon = &this->m; 19 monitor_guard_t g1 = { &mon }; 18 monitor_guard_t g1 = { &this->m }; 20 19 { 21 monitor_guard_t g2 = { & mon};20 monitor_guard_t g2 = { &this->m }; 22 21 { 23 monitor_guard_t g3 = { & mon};22 monitor_guard_t g3 = { &this->m }; 24 23 this->value += 1; 25 24 }
Note:
See TracChangeset
for help on using the changeset viewer.