Josh Schmiedlin(deleted)
|
Cancelling/slaying/killing reply blocked threads.
|
Josh Schmiedlin(deleted)
02/27/2008 2:17 PM
post5337
|
Cancelling/slaying/killing reply blocked threads.
Hi there,
I have a setup where I have an application that sends a request to a Resource Manager. This ResMgr doesn't reply to the
message until something has occurred that requires a reply. This concept is talked about in some of the IPC related
pages on this site. As long as everything is running this concept works really well for my situation, however in the
process of debugging and general implementation work I like to Ctrl-C and/or slay my application that is sending the
message. When I attempt this pidin shows me that the thread i have doing the MsgSend is still blocked on REPLY and i'm
unable to fully kill the application. Today I need to slay both the sending application, and the ResMgr that does the
actual replying.
So my question is, how can I have all my application's threads terminated when I use "slay" or Ctrl-C?
Thanks,
Josh
|
|
|