<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://eiffelroom.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>eiffelroom - thread - Comments</title>
 <link>http://eiffelroom.com/tag/thread</link>
 <description>Comments for &quot;thread&quot;</description>
 <language>en</language>
<item>
 <title>To see something, you might add a loop</title>
 <link>http://eiffelroom.com/article/simple_timer_class#comment-387</link>
 <description>&lt;p&gt;To see something, I would just add the following points:&lt;/p&gt;

&lt;p&gt;1) add THREAD_CONTROL to the inherited class for SAMPLE 2) at the end of make, you could add (for instance) &lt;pre class=&quot;geshifilter&quot;&gt;from until False loop
    print (&quot;.&quot;)
    sleep (1_000_000_000)
end&lt;/pre&gt;&lt;/p&gt;

</description>
 <pubDate>Thu, 29 Nov 2007 10:06:00 -0800</pubDate>
 <dc:creator>Jocelyn Fiat</dc:creator>
 <guid isPermaLink="false">comment 387 at http://eiffelroom.com</guid>
</item>
<item>
 <title>Eiffel and Unix</title>
 <link>http://eiffelroom.com/blog/patrickr/of_daemons_and_threads#comment-185</link>
 <description>&lt;p&gt;I personally would be interested to know how to setup signal handlers in Eiffel.&lt;/p&gt;

</description>
 <pubDate>Mon, 02 Apr 2007 15:40:24 -0700</pubDate>
 <dc:creator>mtn</dc:creator>
 <guid isPermaLink="false">comment 185 at http://eiffelroom.com</guid>
</item>
<item>
 <title>That&#039;s basically not that</title>
 <link>http://eiffelroom.com/blog/patrickr/of_daemons_and_threads#comment-184</link>
 <description>&lt;p&gt;That&#039;s basically not that hard. In general on Unix/Linux, the way it is done is to let the process fork itself and then end the parent process. As soon as the parent process exits, the child process is automatically inherited by the init process and can therefore be considered a daemon. In Eiffel probably the easiest way to do it, is to use eposix. Another aspect that should also be done is to implement some signal handlers (e.g. for the TERM signal, to be able to shut down a daemon), I also did this using eposix. If there&#039;s interest I can write a quick article about it.&lt;/p&gt;

</description>
 <pubDate>Mon, 02 Apr 2007 15:33:05 -0700</pubDate>
 <dc:creator>patrickr</dc:creator>
 <guid isPermaLink="false">comment 184 at http://eiffelroom.com</guid>
</item>
<item>
 <title>How do you turn your processes into daemons?</title>
 <link>http://eiffelroom.com/blog/patrickr/of_daemons_and_threads#comment-183</link>
 <description>&lt;p&gt;Would be interesting to know.&lt;/p&gt;

</description>
 <pubDate>Mon, 02 Apr 2007 15:21:43 -0700</pubDate>
 <dc:creator>mtn</dc:creator>
 <guid isPermaLink="false">comment 183 at http://eiffelroom.com</guid>
</item>
</channel>
</rss>
