M
Mc Osten
It seems that the standard ruby interpreter is able to detect deadlocks
(at least it detects when all threads are deadlocked).
In this case it terminates. It appears it doesn't do throwing an
exception...
Where can I find more infos about this? Can I insert into this and break
the deadlock in a (hopefully) softer way (I could know a specific thread
*can* be terminated).
Where can I find some infos about the deadlock revelation algorithms it
uses and such? This is just part of the "default" ruby interpreter or it
is defined in ruby itself?
Moreover how are regarded threads in the Ruby community? When I use
Python it's usually not advised and it is encouraged to move to an
asynchronous model (Twisted).
Thanks in advance.
(at least it detects when all threads are deadlocked).
In this case it terminates. It appears it doesn't do throwing an
exception...
Where can I find more infos about this? Can I insert into this and break
the deadlock in a (hopefully) softer way (I could know a specific thread
*can* be terminated).
Where can I find some infos about the deadlock revelation algorithms it
uses and such? This is just part of the "default" ruby interpreter or it
is defined in ruby itself?
Moreover how are regarded threads in the Ruby community? When I use
Python it's usually not advised and it is encouraged to move to an
asynchronous model (Twisted).
Thanks in advance.