On 12.05.2008 08:58, Roger Pack wrote:
> All right ruby-genie.  My next wish!
> That 1.9 had an option that represents a cross between thread models 2 
> and 3[1] [i.e. sometimes threads could run simultaneous,  a la].
> 
> guaranteed_thread_safe do
>  # thread multi threaded code
> end
> 
> Though I suppose this is accomplishable using some C code, currently.

http://www.ruby-doc.org/docs/ProgrammingRuby/html/tut_threads.html

http://www.ruby-doc.org/stdlib/libdoc/monitor/rdoc/index.html
http://www.ruby-doc.org/stdlib/libdoc/thread/rdoc/index.html

My next wish: yeah, you guessed right.

	robert