[jboss-svn-commits] JBL Code SVN: r33339 - labs/jbossrules/trunk/drools-core/src/main/java/org/drools/common.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Thu Jun 3 20:10:36 EDT 2010
Author: mark.proctor at jboss.com
Date: 2010-06-03 20:10:35 -0400 (Thu, 03 Jun 2010)
New Revision: 33339
Modified:
labs/jbossrules/trunk/drools-core/src/main/java/org/drools/common/NamedEntryPoint.java
Log:
-named entry points should also readlock the kbase
Modified: labs/jbossrules/trunk/drools-core/src/main/java/org/drools/common/NamedEntryPoint.java
===================================================================
--- labs/jbossrules/trunk/drools-core/src/main/java/org/drools/common/NamedEntryPoint.java 2010-06-03 22:50:00 UTC (rev 33338)
+++ labs/jbossrules/trunk/drools-core/src/main/java/org/drools/common/NamedEntryPoint.java 2010-06-04 00:10:35 UTC (rev 33339)
@@ -125,7 +125,7 @@
activation );
} finally {
- this.ruleBase.unlock();
+ this.ruleBase.readUnlock();
this.lock.unlock();
}
return handle;
@@ -242,7 +242,7 @@
this.wm.executeQueuedActions();
} finally {
this.wm.endOperation();
- this.ruleBase.unlock();
+ this.ruleBase.readUnlock();
this.lock.unlock();
}
}
@@ -308,7 +308,7 @@
this.wm.executeQueuedActions();
} finally {
this.wm.endOperation();
- this.ruleBase.unlock();
+ this.ruleBase.readUnlock();
this.lock.unlock();
}
}
@@ -363,7 +363,7 @@
} finally {
this.wm.endOperation();
- this.ruleBase.unlock();
+ this.ruleBase.readUnlock();
this.lock.unlock();
}
}
@@ -440,7 +440,7 @@
this.wm.executeQueuedActions();
} finally {
this.wm.endOperation();
- this.ruleBase.unlock();
+ this.ruleBase.readUnlock();
this.lock.unlock();
}
}
More information about the jboss-svn-commits
mailing list