]> gerrit.simantics Code Review - simantics/platform.git/commit
Allow ExecutorWorker thread pool shutdown 69/2269/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Wed, 20 Jun 2018 08:07:58 +0000 (11:07 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Tue, 2 Oct 2018 09:42:28 +0000 (09:42 +0000)
commitdf9d54067bc99d1ead12b7d369be0d467d574837
tree68f65edf6b67cc0841e0f60ed4887d5524a527e8
parentc4ba7a58dd5d76887d10883b87a6be34a20bb3f7
Allow ExecutorWorker thread pool shutdown

Also made the pool spawn daemon threads to allow shutdown regardless of
whether the pool is shut down or not.

gitlab #29

Change-Id: I680e15407c0fd0586070a212d291efd44dc28f5d
(cherry picked from commit 951846b17c8c02759b7a319b0f2952cafacb8bea)
bundles/org.simantics.utils.thread/src/org/simantics/utils/threads/ExecutorWorker.java
bundles/org.simantics.utils.thread/src/org/simantics/utils/threads/ThreadUtils.java
bundles/org.simantics.workbench/src/org/simantics/workbench/internal/SimanticsWorkbenchAdvisor.java