What to do if one library is not multi-threaded ?

Posted by LB on Stack Overflow See other posts from Stack Overflow or by LB
Published on 2010-03-23T13:20:29Z Indexed on 2010/03/23 13:23 UTC
Read the original article Hit count: 99

Filed under:
|

Hi,

I would like to multi-thread an application, however one library i'm using is not multi-thread capable (i don't know what's the right word ? synchronized ?).

What are my options ?

As far as i know there's nothing in between threads and processes (Runtime.exec) in java (no abstraction in the jvm to have something like an isolated "java process").

How would you deal with that ?

© Stack Overflow or respective owner

Related posts about java

Related posts about concurrency