Beispiel #1
0
 def test_wrong_constant(self):
     prwlock.set_pthread_process_shared(0xbeef)
     with self.assertRaises(OSError):
         prwlock.RWLock()
Beispiel #2
0
 def test_wrong_constant(self):
     prwlock.set_pthread_process_shared(0xbeef)
     with self.assertRaises(OSError):
         prwlock.RWLock()
Beispiel #3
0
 def tearDown(self):
     prwlock.set_pthread_process_shared(OLD_PTHREAD_PROCESS_SHARED)
Beispiel #4
0
 def tearDown(self):
     prwlock.set_pthread_process_shared(OLD_PTHREAD_PROCESS_SHARED)