Skip to content

Commit

Permalink
schelp: minor fixes for Thread
Browse files Browse the repository at this point in the history
  • Loading branch information
cappelnord authored and timblechmann committed Feb 14, 2012
1 parent 9dedad8 commit d62e581
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions HelpSource/Classes/Thread.schelp
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ It is wise not to fiddle with the source code for this class; see the warnings i
method:: thisThread
The global pseudo-variable code::thisThread:: always returns the enclosing thread running the given code. A Thread is aware of its own attached clock and associated beats and seconds timing, and has an individual random number seed and exception handler.

code::
// example
thisThread.beats;
thisThread.seconds;
thisThread.clock;
::

classMethods::

method::new
Expand All @@ -34,23 +41,16 @@ defaults to 64 depth call stack.
instanceMethods::

method::beats
Get or set the elapsed beats (logical time) of the thread
Get or set the elapsed beats (logical time) of the thread.

method::seconds
Get or set the elapsed seconds (logical time) of the thread.

method::clock
Get or set the thread's clock
Get or set the thread's clock.

method::isPlaying
Returns:: true if it is playing

code::
// example
thisThread.beats;
thisThread.seconds;
thisThread.clock;
::
Returns:: true if it is playing.

method::state

Expand All @@ -66,7 +66,7 @@ subsection::Seeding the random number generator
see also: link::Reference/randomSeed::

method::randSeed
Set the random number generator seed using a single integer
Set the random number generator seed using a single integer.
discussion::
Example:
code::
Expand Down

0 comments on commit d62e581

Please sign in to comment.