/[svn]/linuxsampler/trunk/src/testcases/ConditionTest.cpp
ViewVC logotype

Diff of /linuxsampler/trunk/src/testcases/ConditionTest.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3765 by schoenebeck, Tue Aug 6 13:18:59 2019 UTC revision 3766 by schoenebeck, Mon Apr 6 12:41:49 2020 UTC
# Line 49  int ConditionTest::ConditionCheckerLocki Line 49  int ConditionTest::ConditionCheckerLocki
49      resource++;      resource++;
50      while (!doUnlock) {      while (!doUnlock) {
51                  usleep(1000); // sleep until ordered to unlock the condition again                  usleep(1000); // sleep until ordered to unlock the condition again
 #if CONFIG_PTHREAD_TESTCANCEL  
52                  TestCancel();                  TestCancel();
 #endif  
53          }          }
54      staticcondition.Unlock();      staticcondition.Unlock();
55      return 0;      return 0;

Legend:
Removed from v.3765  
changed lines
  Added in v.3766

  ViewVC Help
Powered by ViewVC