Daniel Schulze wrote:
> meanwhile I had a look at the minerva code
> (XAPoolDataSource.getConnection (*) lines 167-183).
> 
> The problem is exactly what I assumed it is...
> A fragment like:
> 
> Object o = null;
> while ((o = pool.getObject()) == null);
> return ((XAConnection)o).getConnection ();

Hm..... noo.... why a CPU loop? Use wait() and notify()..

/Rickard

-- 
Rickard �berg

Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com


Reply via email to