Index: jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/WorkspaceManager.java
===================================================================
--- jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/WorkspaceManager.java (revision 818479)
+++ jackrabbit-jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/WorkspaceManager.java (working copy)
@@ -114,10 +114,8 @@
import java.util.HashSet;
import java.util.Map;
import java.util.Collection;
+import java.util.concurrent.Semaphore;
-import EDU.oswego.cs.dl.util.concurrent.Sync;
-import EDU.oswego.cs.dl.util.concurrent.Mutex;
-
/**
* WorkspaceManager...
*/
@@ -141,11 +139,11 @@
private final ItemDefinitionProvider definitionProvider;
/**
- * Mutex to synchronize the feed thread with client
+ * Semaphore to synchronize the feed thread with client
* threads that call {@link #execute(Operation)} or {@link
* #execute(ChangeLog)}.
*/
- private final Sync updateSync = new Mutex();
+ private final Semaphore updateSync = new Semaphore(1);
/**
* This is the event polling for changes. If null