- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My desktop application will create a child processduring execution. The child process mayexecute for a long time and occupy a lot of system resource.
The problem is if there's some one kill the parent processby windows task manager, the child process will become orphan and go on to execute, which is not expected.
I wanna find a way to monitor parent process.
So can I create a thread in the child process, whose job is to terminate child process whenever the parent process died?
Link Copied
0 Replies
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page