Example #1
0
 def target():
     try:
         with wakeup_on_signal():
             pass
     except:
         failed.append(1)
Example #2
0
 def target():
     try:
         with wakeup_on_signal():
             pass
     except:
         failed.append(1)
Example #3
0
 def test_basic(self):
     self.assertEqual(signal.set_wakeup_fd(-1), -1)
     with wakeup_on_signal():
         pass
     self.assertEqual(signal.set_wakeup_fd(-1), -1)
Example #4
0
 def test_basic(self):
     self.assertEqual(signal.set_wakeup_fd(-1), -1)
     with wakeup_on_signal():
         pass
     self.assertEqual(signal.set_wakeup_fd(-1), -1)