Lines Matching full:thread
28 thread = process.GetThreadByID(0x1)
30 thread.IsValid(),
31 "Make sure there is a thread 0x1 after we load the python OS plug-in",
33 thread = process.GetThreadByID(0x2)
35 thread.IsValid(),
36 "Make sure there is a thread 0x2 after we load the python OS plug-in",
38 thread = process.GetThreadByID(0x3)
40 thread.IsValid(),
41 "Make sure there is a thread 0x3 after we load the python OS plug-in",
44 # Verify that a thread other than 3 is selected.
45 thread = process.GetSelectedThread()
46 self.assertNotEqual(thread.GetThreadID(), 0x3)
48 # Verify that we select the thread backed by physical thread 1, rather
49 # than virtual thread 1. The mapping comes from the OS plugin, where we
50 # specified that thread 3 is backed by real thread 1.
52 thread = process.GetSelectedThread()
53 self.assertEqual(thread.GetThreadID(), 0x3)