Re: Is Calabash thread-safe, multiprocessor-safe?

For the record: at the time of writing not only XProcRuntime cannot be  
shared, but XProcConfiguration too. See the thread titled "Anybody  
using Calabash under Tomcat?" for more details:

http://markmail.org/message/jlwbvzmqa5z4bmrk

Romain.


David A. Lee wrote:
> I've integrated calabash code into a multi-threaded application.  I  
> have
> not reviewed all the code, but I have reviewed quite a bit of it.
> If you stick to seperate instances of XProcRuntime per thread and  
> don't
> share ANY internal data between threads,
> I also believe it should be thread safe.
>
> However I can assert definitely that XProcRuntime is not sharable  
> across
> threads.  There are operations in some steps which affect this  
> object at
> runtime, which would definately mess things up in different threads if
> they were sharing it.

Received on Thursday, 1 September 2011 19:25:34 UTC