<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to F$Send</title><link>https://sourceforge.net/p/nitros9/wiki/F%2524Send/</link><description>Recent changes to F$Send</description><atom:link href="https://sourceforge.net/p/nitros9/wiki/F$Send/feed" rel="self"/><language>en</language><lastBuildDate>Fri, 27 Jun 2014 23:20:32 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/nitros9/wiki/F$Send/feed" rel="self" type="application/rss+xml"/><item><title>F$Send modified by Lothan</title><link>https://sourceforge.net/p/nitros9/wiki/F%2524Send/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;strong&gt;Send&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;Sends a signal to a specified process&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;OS9 F$Send 103F 08&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Entry Conditions&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;A &lt;em&gt;destination process ID&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;B &lt;em&gt;signal code&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Error Output&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;CC carry set on error &lt;/p&gt;
&lt;p&gt;B &lt;em&gt;error code&lt;/em&gt; (if any) &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Additional Information&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The &lt;em&gt;signal code&lt;/em&gt; is a single byte value in the rage 0 through 255. &lt;/li&gt;
&lt;li&gt;If the destination process is sleeping or waiting, NitrOS-9 activates the process so that the process can process the signal. &lt;/li&gt;
&lt;li&gt;If a signal trap is set up, F$Send executes the signal processing routing (Intercept). If none was set up, the signal terminates the destination process and the signal code becomes the exit status. (See the Wait system call.) An exception is the wakeup signal; that signal does not cause the signal intercept routine to be executed. &lt;/li&gt;
&lt;li&gt;Signal codes are defined as follows: &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;0 System terminate (cannot be intercepted) &lt;/p&gt;
&lt;p&gt;1 Wake up the process &lt;/p&gt;
&lt;p&gt;2 Keyboard terminate &lt;/p&gt;
&lt;p&gt;3 Keyboard interrupt &lt;/p&gt;
&lt;p&gt;128-255 User defined &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;If you try to send a signal to a process that has a signal pending, NitrOS-9 cancels the current Send call and returns an error. Issue a Sleep call for a few ticks; then, try again. &lt;/li&gt;
&lt;li&gt;The Sleep call saves CPU time. See the Intercept, Wait, and Sleep system calls for more information. &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;em&gt;krnp2&lt;/em&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lothan</dc:creator><pubDate>Fri, 27 Jun 2014 23:20:32 -0000</pubDate><guid>https://sourceforge.net9293fef6f11f7353ed1bc1acac1cebd7b7a7f8ea</guid></item></channel></rss>