AmDaemon (Daemon property): Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
m 1 revision  | 
				m 1 revision  | 
				||
| Line 9: | Line 9: | ||
{{Template:Daemon:AmDaemon syntax}}  | {{Template:Daemon:AmDaemon syntax}}  | ||
===Syntax terms===  | ===Syntax terms===  | ||
<  | <table class="syntaxTable">  | ||
<  | <tr><th><i>%bool</i></th>  | ||
<  | <td>A declared enumeration object of type Boolean to contain the returned value of AmDaemon. </td></tr>  | ||
<  | <tr><th>%(Daemon)</th>  | ||
<  | <td>The class name in parentheses denotes a shared method. Specifying <tt>%(Daemon):</tt> is not the only way to invoke the method (see :hdref refid=daemeth.).</td></tr>  | ||
</  | </table>  | ||
AmDaemon returns <tt>True</tt> if issued on a daemon thread; otherwise it returns <tt>False</tt>.  | AmDaemon returns <tt>True</tt> if issued on a daemon thread; otherwise it returns <tt>False</tt>.  | ||
Revision as of 04:43, 7 February 2011
<section begin=dpl_desc/>Checks whether the thread is a daemon.<section end=dpl_desc/>
AmDaemon is a member of the Daemon class
This shared method confirms whether the current thread is controlled by a Daemon object. The method takes no arguments and returns a boolean enumeration.
Syntax
%boolean = %(Daemon):AmDaemon
Syntax terms
| %bool | A declared enumeration object of type Boolean to contain the returned value of AmDaemon. | 
|---|---|
| %(Daemon) | The class name in parentheses denotes a shared method. Specifying %(Daemon): is not the only way to invoke the method (see :hdref refid=daemeth.). | 
AmDaemon returns True if issued on a daemon thread; otherwise it returns False.