ContinueIndependently (Daemon subroutine): Difference between revisions

From m204wiki
Jump to navigation Jump to search
Line 11: Line 11:


<tr><th>object</th>
<tr><th>object</th>
<td>This optional, [[Notation conventions for methods#Named parameters|name allowed]], argument is either:
<td>This optional, [[Notation conventions for methods#Named parameters|name allowed]], argument is an object passed to the <var class="term">daemon</var> thread. This object must be deep copyable, as described in: [[Copying objects|"Copying objects"]].
<ul>
</td></tr></table>
<li>An object passed to the <var class="term">daemon</var> thread. This object must be deep copyable, as described in: [[Copying objects|"Copying objects"]].
<li>A Boolean value. If a Null object
</ul>
</table>


==Usage notes==
==Usage notes==

Revision as of 16:24, 31 May 2012

Continue processing independently in daemon (Daemon class)

[Introduced in Sirius Mods 8.1]


This method tells a daemon that did a ReturnToMaster Daemon class call to continue processing at the point of the call. Unlike the Continue method, ContinueIndependently returns immediately, thus allowing the thread that issued ContinueIndependently to run in parallel with the daemon thread. Unlike ContinueAsynchronously, this method makes the daemon thread completely independent of the parent thread, so the daeamon is no longer available.

Syntax

daemon:ContinueIndependently[( [Input= object])] Throws DaemonLost, IncorrectDaemonState

Syntax terms

daemon A previously defined Daemon object.
object This optional, name allowed, argument is an object passed to the daemon thread. This object must be deep copyable, as described in: "Copying objects".

Usage notes

Examples

See also