[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

is $? threadsafe?

Ara.T.Howard

10/15/2004 4:14:00 PM

1 Answer

Brian Mitchell

10/15/2004 4:52:00 PM

0

> anyone? how about all the other global vars?

I believe they are thread global (one per thread) and thus thread safe
variables but that does not guarantee that the object you are wokring
on is thread safe (if more than one thread holds a refrence).

Peace,
Brian Mitchell
--
32.times{|y|print" "*(31-y);(y+1).times{|x|print" #{~y&x==0?"A":"."}"};puts}