<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Can I create a thread for a child process in the application? in Intel® Moderncode for Parallel Architectures</title>
    <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Can-I-create-a-thread-for-a-child-process-in-the-application/m-p/995600#M6348</link>
    <description>&lt;DIV&gt;My desktop application will create a child processduring execution. The child process mayexecute for a long time and occupy a lot of system resource.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;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.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I wanna find a way to monitor parent process. &lt;/DIV&gt;
&lt;DIV&gt;So can I create a thread in the child process, whose job is to terminate child process whenever the parent process died?&lt;/DIV&gt;</description>
    <pubDate>Mon, 14 Feb 2005 16:44:12 GMT</pubDate>
    <dc:creator>vienna</dc:creator>
    <dc:date>2005-02-14T16:44:12Z</dc:date>
    <item>
      <title>Can I create a thread for a child process in the application?</title>
      <link>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Can-I-create-a-thread-for-a-child-process-in-the-application/m-p/995600#M6348</link>
      <description>&lt;DIV&gt;My desktop application will create a child processduring execution. The child process mayexecute for a long time and occupy a lot of system resource.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;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.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I wanna find a way to monitor parent process. &lt;/DIV&gt;
&lt;DIV&gt;So can I create a thread in the child process, whose job is to terminate child process whenever the parent process died?&lt;/DIV&gt;</description>
      <pubDate>Mon, 14 Feb 2005 16:44:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Moderncode-for-Parallel/Can-I-create-a-thread-for-a-child-process-in-the-application/m-p/995600#M6348</guid>
      <dc:creator>vienna</dc:creator>
      <dc:date>2005-02-14T16:44:12Z</dc:date>
    </item>
  </channel>
</rss>

