Author: mriou
Date: Wed Feb 14 07:31:29 2007
New Revision: 507578

URL: http://svn.apache.org/viewvc?view=rev&rev=507578
Log:
This lock should be interruptible.

Modified:
    
incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelServerImpl.java

Modified: 
incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelServerImpl.java
URL: 
http://svn.apache.org/viewvc/incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelServerImpl.java?view=diff&rev=507578&r1=507577&r2=507578
==============================================================================
--- 
incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelServerImpl.java
 (original)
+++ 
incubator/ode/trunk/bpel-runtime/src/main/java/org/apache/ode/bpel/engine/BpelServerImpl.java
 Wed Feb 14 07:31:29 2007
@@ -406,7 +406,7 @@
             try {
                 while (true) {
                     Thread.sleep(pollingTime);
-                    _mngmtLock.writeLock().lock();
+                    _mngmtLock.writeLock().lockInterruptibly();
                     try { 
                         __log.debug("Kicking reaper, OProcess instances: " + 
OProcess.instanceCount);
                         // Copying the runnning process list to avoid 
synchronization


Reply via email to