From f14265fe5bc9c2eebcbceee0396bb3cfccd471f8 Mon Sep 17 00:00:00 2001 From: Aidan Hahn Date: Thu, 23 May 2019 18:18:13 -0700 Subject: [PATCH] dont synchronize access to the function that is supposed to synchronize by hand --- src/main/java/JobServ/ProcessManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/JobServ/ProcessManager.java b/src/main/java/JobServ/ProcessManager.java index 7cf6c73..cb3645d 100644 --- a/src/main/java/JobServ/ProcessManager.java +++ b/src/main/java/JobServ/ProcessManager.java @@ -228,7 +228,7 @@ class ProcessManager { * Waits for a predefined timeout period and then grabs the mutex * Throws TimeoutException when it fails to get the lock. */ - private synchronized void getLock() throws TimeoutException { + private void getLock() throws TimeoutException { Future future = this.threadPool.submit(this.lockCallable); try {