equal
deleted
inserted
replaced
22 #include "itk.h" |
22 #include "itk.h" |
23 |
23 |
24 #include "cpixsynctools.h" |
24 #include "cpixsynctools.h" |
25 |
25 |
26 |
26 |
27 void testMutex(Itk::TestMgr * ) |
27 void testMutex(Itk::TestMgr * mgr) |
28 { |
28 { |
29 using namespace Cpt; |
29 using namespace Cpt; |
30 |
30 |
31 Mutex |
31 Mutex |
32 mutex; |
32 mutex; |
34 SyncRegion |
34 SyncRegion |
35 sr(mutex); |
35 sr(mutex); |
36 } |
36 } |
37 |
37 |
38 |
38 |
39 void testRecursiveMutex(Itk::TestMgr * ) |
39 void testRecursiveMutex(Itk::TestMgr * mgr) |
40 { |
40 { |
41 using namespace Cpt; |
41 using namespace Cpt; |
42 |
42 |
43 Mutex |
43 Mutex |
44 mutex(true); |
44 mutex(true); |
49 SyncRegion |
49 SyncRegion |
50 sr2(mutex); |
50 sr2(mutex); |
51 } |
51 } |
52 |
52 |
53 |
53 |
54 void testMultiSyncRegion(Itk::TestMgr * ) |
54 void testMultiSyncRegion(Itk::TestMgr * mgr) |
55 { |
55 { |
56 using namespace Cpt; |
56 using namespace Cpt; |
57 |
57 |
58 Mutex |
58 Mutex |
59 mutex1, |
59 mutex1, |