W3C home > Mailing lists > Public > xproc-dev@w3.org > September 2011

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

From: Romain Deltour <rdeltour@gmail.com>
Date: Thu, 1 Sep 2011 21:24:54 +0200
Message-Id: <0B03C34A-6A55-44E9-BE20-33445F49C7CF@gmail.com>
To: xproc-dev@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 1 September 2011 19:25:34 GMT