<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[QProcess created in another app: Would they share the stack ?]]></title><description><![CDATA[<p dir="auto">Hello everyone,<br />
When a <code>QProcess</code>  is created in another application (<code>QProcess()</code> called w/o parent means it wouldnt be started as a child process, but as a parallel one, right?) would they share the stack? Do we need to take care with <code>sigaction</code> and <code>SA_ONSTACK</code> ?</p>
]]></description><link>https://forum.qt.io/topic/139473/qprocess-created-in-another-app-would-they-share-the-stack</link><generator>RSS for Node</generator><lastBuildDate>Fri, 06 Nov 2026 11:35:25 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/139473.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 21 Sep 2022 08:51:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to QProcess created in another app: Would they share the stack ? on Wed, 21 Sep 2022 09:13:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/qbst">@<bdi>QBst</bdi></a> Different processes never share stack! Doesn't matter how they were started. Even heap memory is not shared. You need to use "shared memory" to share memory between processes.</p>
]]></description><link>https://forum.qt.io/post/729581</link><guid isPermaLink="true">https://forum.qt.io/post/729581</guid><dc:creator><![CDATA[jsulm]]></dc:creator><pubDate>Wed, 21 Sep 2022 09:13:02 GMT</pubDate></item><item><title><![CDATA[Reply to QProcess created in another app: Would they share the stack ? on Wed, 21 Sep 2022 09:11:06 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jonb">@<bdi>JonB</bdi></a> said in <a href="/post/729575">QProcess created in another app: Would they share the stack ?</a>:</p>
<blockquote>
<p dir="auto">No, they are separate processes, no "stack sharing".</p>
</blockquote>
<p dir="auto">Is that 100% clear? :)  <code>parent</code> parameter is to do with Qt's object-ownership hierarchy, nothing to do with sub-process parentage.  Sub-process parent will be the Qt program.  And <em>still</em> no kind of "stack sharing" :)</p>
]]></description><link>https://forum.qt.io/post/729580</link><guid isPermaLink="true">https://forum.qt.io/post/729580</guid><dc:creator><![CDATA[JonB]]></dc:creator><pubDate>Wed, 21 Sep 2022 09:11:06 GMT</pubDate></item><item><title><![CDATA[Reply to QProcess created in another app: Would they share the stack ? on Wed, 21 Sep 2022 09:03:17 GMT]]></title><description><![CDATA[<p dir="auto">Would they share the stack, when created as a child process (w. parent parameter: <code>QProcess(parent)</code> )?</p>
]]></description><link>https://forum.qt.io/post/729578</link><guid isPermaLink="true">https://forum.qt.io/post/729578</guid><dc:creator><![CDATA[QBst]]></dc:creator><pubDate>Wed, 21 Sep 2022 09:03:17 GMT</pubDate></item><item><title><![CDATA[Reply to QProcess created in another app: Would they share the stack ? on Wed, 21 Sep 2022 08:58:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/qbst">@<bdi>QBst</bdi></a><br />
Hello and welcome.</p>
<p dir="auto">No, they are separate processes, no "stack sharing".  <code>QProcess</code> just runs an external process.</p>
]]></description><link>https://forum.qt.io/post/729575</link><guid isPermaLink="true">https://forum.qt.io/post/729575</guid><dc:creator><![CDATA[JonB]]></dc:creator><pubDate>Wed, 21 Sep 2022 08:58:29 GMT</pubDate></item></channel></rss>