- From: Florent Georges <fgeorges@fgeorges.org>
- Date: Thu, 18 Nov 2010 11:18:15 +0000
- To: Edwin de Jong <e.dejong@exxellence.nl>
- Cc: XProc Dev <xproc-dev@w3.org>
On 18 November 2010 11:04, Edwin de Jong wrote:
> Perhaps my explanation was a bit pithy. Before reusing a pipeline,
> I call pipeline.reset() and pipeline.clearInputs("source"). Then
> the pipeline is back to its original state and can be used for
> another request. pipeline.reset() is recursively applied to all
> referenced pipelines.
Ok, I undestand now, thank you! So you can reuse the pipeline
object, but you cannot use it concurrently (I understand now why
your are using some pools). Because the static (compile-time)
and dynamic (runtime) evaluation phases are mixed into the same
object...
Regards,
--
Florent Georges
http://fgeorges.org/
Received on Thursday, 18 November 2010 11:19:08 UTC