ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Lalevée <>
Subject Re: Ivy, IvyDE and thread safety?
Date Thu, 24 Jul 2008 15:38:38 GMT
Le jeudi 24 juillet 2008, Gilles Scokart a écrit :
> Up to now, I think Ivy has mostly be used in a single thread.  When
> used from ant, even if it is possible to have multiple tasks running
> in parallel, I doubdt it has ever been extensively used.
> There is thus a risk that some part of the code are not thread safe.
> I'm wondering what is actually the risk when Ivy is used from IvyDE?
> Does IvyDE will likely invoke Ivy from multiple thread in parallel?

The IvyResolveJob of IvyDE is synchronized to be run only one at a time, 
ensured by Eclipse. So when computing the classpath of the java projects, 
there won't be any thread issue.
But Ivy is also used for ivy file completion and ivy file parsing. I don't 
know how far the code in Eclipse can use them with multiple thread. But 
whatever, the synchronization point here will be the end user that won't be 
able to edit files threadedly. :p
So I don't think Ivy is used in a threaded way in IvyDE.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message