synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen" <>
Subject Re: Enhancements to the JMS transport
Date Sun, 23 Nov 2008 19:17:50 GMT
> The issue I see is with my dual core, where a thread updating the latch is
> not seen from another thread. The concurrency of 4 is reached if you put a
> sout, but the latch update is not visible to the main thread. This is due to
> the Java memory model AFAIK

This would mean that either CountDownLatch is not used correctly in
MinConcurrencyTest or that there is a bug in CountDownLatch, which is
very improbable. Can you exclude the possibility that
concurrencyReachedLatch.await simply times out too early?


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

View raw message