[Backgroundrb-devel] 0.2.x new architecture ?

Frédéric Logier fredix at gmail.com
Tue Jun 26 17:56:55 EDT 2007


I'm using the latest stable version (0.2.1 (Released November 28, 2006 -
r162)) and according to the web site :
"the new system uses multi process with IPC to manage workers.So each of
your workers will run in their own ruby interpreter."

I supposed that each worker run in is own process. That isn't true. I
defined the same instance variable (@toto) in the do_work methods of each
worker, and @toto is shared between of them. Is it normal ?
In fact, it seems that each worker run in a thread of the backgroundrb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/backgroundrb-devel/attachments/20070626/8df745fe/attachment-0001.html 

More information about the Backgroundrb-devel mailing list