Parent Directory | Revision Log | 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; |
|
ViewVC Help | |
Powered by ViewVC |