[Ironruby-core] Code Review: ThreadLib

Tomas Matousek Tomas.Matousek at microsoft.com
Fri May 16 00:03:13 EDT 2008


atfpt review /shelveset:ThreadLib;REDMOND\tomat

A rough implementation of thread.so.

Ignores differences of Ruby Mutex and .NET Monitor for now:
- Ruby Mutex.lock in not reentrant by the same thread
- it could be locked/unlocked from non-owning thread (.NET Monitor throws an exception in that case)

Also IronRuby runtime itself is not hardened against race conditions yet.

Tomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ThreadLib.diff
Type: application/octet-stream
Size: 41477 bytes
Desc: ThreadLib.diff
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20080515/1c12e8e7/attachment-0001.obj>


More information about the Ironruby-core mailing list