C# Class IronRuby.Builtins.ThreadOps.RubyThreadInfo

Show file Open project: jschementi/iron

Private Properties

Property Type Description
FromThread RubyThreadInfo
GetKeys RubyArray
HasKey bool
RegisterThread void
RubyThreadInfo System
Run void
Sleep void
this object

Private Methods

Method Description
FromThread ( Thread t ) : RubyThreadInfo
GetKeys ( ) : RubyArray
HasKey ( RubySymbol key ) : bool
RegisterThread ( Thread t ) : void
RubyThreadInfo ( Thread thread ) : System
Run ( ) : void
Sleep ( ) : void

We do not use Thread.Sleep here as another thread can call Thread#wakeup/Thread#run. Instead, we use our own lock which can be signalled from another thread.

this ( RubySymbol key ) : object