none
Kernel thread RRS feed

  • Question

  • The kernel threds created using PSCreateSystemThread() run immediately when they are created. Isnt is possible to wait on such a thread? Is it possible to synchronise this thread with another? Unlike in the case of normal thread( example, thread created using AfxBeginThread()), it doesnt seem we can create this thread in a suspended state and start at a later stage?

    Wednesday, February 19, 2014 2:33 AM

Answers

  • You can have the thread wait on an event and signal the event when you want to do its work. You can wait on the thread object itself, it will be signalled when it terminates.

    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    Wednesday, February 19, 2014 3:22 AM