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

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

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

revision 1649 by nagata, Fri Jan 25 15:06:02 2008 UTC revision 3552 by schoenebeck, Tue Aug 6 13:18:59 2019 UTC
# Line 23  int ThreadTest::DummyThread::Main() { Line 23  int ThreadTest::DummyThread::Main() {
23                  TestCancel();                  TestCancel();
24  #endif  #endif
25          }          }
26            return 0;
27  }  }
28    
29    
# Line 37  int ThreadTest::HelperThread::Main() { Line 38  int ThreadTest::HelperThread::Main() {
38      pDummyThread->StopThread();      pDummyThread->StopThread();
39      pDummyThread->someVariable = 0; // we set this to another value than -1 so we can check if the DummyThread was still running      pDummyThread->someVariable = 0; // we set this to another value than -1 so we can check if the DummyThread was still running
40      returnedFromDummyStop = true;      returnedFromDummyStop = true;
41        return 0;
42  }  }
43    
44  bool ThreadTest::HelperThread::dummyThreadWasNotRunningAnymoreAfter_StopThread_call() {  bool ThreadTest::HelperThread::dummyThreadWasNotRunningAnymoreAfter_StopThread_call() {

Legend:
Removed from v.1649  
changed lines
  Added in v.3552

  ViewVC Help
Powered by ViewVC