On Jul 23, 2007, at 18:55, Andreas L Delmelle wrote:

On Jul 23, 2007, at 09:48, Baeckham wrote:

just a short question: does FOP has multithreading capabilities?

Yes, different copies of FOP can run concurrently in different threads on the same machine.

On the other hand, FOP itself does no multi-threading internally. All processing inside a single run is completely sequential.

In this case on a multi-core/cpu-system FOP uses multiple core doing the processing?

That would depend on the Java Virtual Machine. FOP has no say in this at all.

Just thought some more about this, and it occurred to me that, in principle, provided that:
a) your machine has multiple CPUs
b) an OS with a robust threading model and
c) a JVM that knows how to use that model to its advantage

then it could even be that a /single/ run of FOP is processed by more than one processor... I'm not 100% certain, but I'd say that sets of bytecode instructions are not necessarily performed sequentially. Like a single CPU ultimately can create the illusion of parallelism, multi-CPU systems can generate the illusion of sequential processing, by synchronizing behind the scenes on very low level.



Cheers

Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to