Send a message to a particular thread
- From: "Angus Comber" <angus@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 20 Apr 2005 16:30:32 +0100
Hello
If I want to send a message to a particular thread, how can I do that.
I know I can TerminateThread, but I want to do some housekeeping before
closing the thread. What is the most efficient way of doing this?
In my thread I am using WaitForSingleObject - waiting for events to become
signalled in a loop. Can I wait on this plus some thread message I can send
from outside the thread?
Really confused and looking for guidance.
angus@xxxxxxxxxxxxxxxxxxxx
.
- Follow-Ups:
- Re: Send a message to a particular thread
- From: Jochen Kalmbach [MVP]
- Re: Send a message to a particular thread
- From: Andrew
- Re: Send a message to a particular thread
- Prev by Date: Re: WTSEnumerateProcesses / OpenProcess race condition?
- Next by Date: Re: /PAE question
- Previous by thread: NetWkstaUserEnum() return error 5
- Next by thread: Re: Send a message to a particular thread
- Index(es):
Relevant Pages
|