Changeset 125 in libcf for trunk/test/log.c
- Timestamp:
- 06/12/13 13:44:25 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/log.c
r122 r125 19 19 int th = 0; 20 20 21 if (CF_Mutex_Lock ( &globalMutex) < 0) { // for critical section21 if (CF_Mutex_Lock (globalMutex) < 0) { // for critical section 22 22 // error 23 23 } 24 24 th = cnt++; 25 if (CF_Mutex_Unlock ( &globalMutex) < 0) { // for critical section25 if (CF_Mutex_Unlock (globalMutex) < 0) { // for critical section 26 26 // error 27 27 }
Note:
See TracChangeset
for help on using the changeset viewer.