E
Eustáquio Rangel
Hi there!
Does Ruby threading model uses a global lock as Python uses?
Thanks!
Does Ruby threading model uses a global lock as Python uses?
Thanks!
Yukihiro said:|Does Ruby threading model uses a global lock as Python uses?
No. It's worse (in a sense). It uses its own green thread.
In message "Re: Global lock"
|Thanks for your answer, Matz! Can you give me a tip where I can learn
|more things about this matter? I mean, some URL for
|documentation/article or where to look on the Ruby source code?
See http://www.ruby-lang.org/en/downloads/ for source download
instruction. For threading matters, eval.c has everything.
Note: beware. it's a black magic inside.
Jumping directly to eval.c can be very scary.
It is probably easier to follow order given in
http://eigenclass.org/hiki.rb?ruby+internals+guide
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.