S
Sergio Lombrico
Hi.
I am having trouble with threading in Ruby.
My code outputs: `synchronize': stopping only thread (ThreadError).
What does this mean and what could the cause of this error be?!
I have a method named p, defined as follows:
@mutex.synchronize do
db_open
yield(@db)
db_close
end
...p gets called with a block which uses db.
Cheers,
Sergio
I am having trouble with threading in Ruby.
My code outputs: `synchronize': stopping only thread (ThreadError).
What does this mean and what could the cause of this error be?!
I have a method named p, defined as follows:
@mutex.synchronize do
db_open
yield(@db)
db_close
end
...p gets called with a block which uses db.
Cheers,
Sergio