M
Matias Surdi
Hi...
I've a class which is run by many threads at the same time.... this
class has to append a line to a text file eventually.
I do this with:
File.new('filename','a').puts("this is the string")
Is this already thread safe??? how can I make it so?????
Thanks...
I've a class which is run by many threads at the same time.... this
class has to append a line to a text file eventually.
I do this with:
File.new('filename','a').puts("this is the string")
Is this already thread safe??? how can I make it so?????
Thanks...