This wiki is out of date, use the continuation of this wiki instead

ProcessTypeID

From FenixWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 13:59, 23 March 2007 (edit)
Sandman (Talk | contribs)

← Previous diff
Revision as of 23:54, 25 March 2007 (edit) (undo)
Sandman (Talk | contribs)

Next diff →
Line 1: Line 1:
-A ProcessTypeID is a unique identification code, for a processtype. A ProcessTypeID is smaller than 65536 (2^16).+== Definition ==
 +A ProcessTypeID is a unique identification code, for a [[processtype]]. A ProcessTypeID is smaller than 65536 (2^16).
- +== Example ==
-----+Kill all SpaceShip()s:
- +<pre>
---[[User:Sandman|Sandman]] 14:56, 23 March 2007 (CET)+Begin
 + signal(type SpaceShip,s_kill);
 +End
 +</pre>
 +[[signal]]() signals all [[process|processes]] of [[processtype]] SpaceShip the [[signal]] to [[die]]. This is done by using the [[constant]] [[s_kill]] as the [[signal]].

Revision as of 23:54, 25 March 2007

Definition

A ProcessTypeID is a unique identification code, for a processtype. A ProcessTypeID is smaller than 65536 (2^16).

Example

Kill all SpaceShip()s:

Begin
    signal(type SpaceShip,s_kill);
End

signal() signals all processes of processtype SpaceShip the signal to die. This is done by using the constant s_kill as the signal.

Personal tools