Changeset 17af7d1 for src/libcfa/concurrency/monitor.c
- Timestamp:
- Mar 17, 2017, 11:34:15 AM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- b32ada31
- Parents:
- 9f1695b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/concurrency/monitor.c
r9f1695b r17af7d1 74 74 void enter(monitor_desc ** monitors, int count) { 75 75 for(int i = 0; i < count; i++) { 76 // printf("%d\n", i);77 76 enter( monitors[i] ); 78 77 } … … 81 80 void leave(monitor_desc ** monitors, int count) { 82 81 for(int i = count - 1; i >= 0; i--) { 83 // printf("%d\n", i);84 82 leave( monitors[i] ); 85 83 }
Note: See TracChangeset
for help on using the changeset viewer.