Closed tzaeschke closed 10 years ago
This happens because the current thread-locking in the database uses Java Lock, which are based on ThreadLocal storage and require the same thread to lock and unlock a Lock. Solution: Replace it with a read-write semaphore which is Thread insensitive.
Note that this error occurs even if the Threads are not used concurrently. Concurrent threads are not supported at the moment.
Using different threads to open and commit databases causes the following Exception: