dont synchronize access to the function that is supposed to synchronize by hand
This commit is contained in:
parent
c40f8f0a62
commit
f14265fe5b
1 changed files with 1 additions and 1 deletions
|
|
@ -228,7 +228,7 @@ class ProcessManager {
|
||||||
* Waits for a predefined timeout period and then grabs the mutex
|
* Waits for a predefined timeout period and then grabs the mutex
|
||||||
* Throws TimeoutException when it fails to get the lock.
|
* Throws TimeoutException when it fails to get the lock.
|
||||||
*/
|
*/
|
||||||
private synchronized void getLock() throws TimeoutException {
|
private void getLock() throws TimeoutException {
|
||||||
Future<Object> future = this.threadPool.submit(this.lockCallable);
|
Future<Object> future = this.threadPool.submit(this.lockCallable);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue