]> gerrit.simantics Code Review - simantics/platform.git/commit
Allow ExecutorWorker thread pool shutdown
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Wed, 20 Jun 2018 08:07:58 +0000 (11:07 +0300)
committerHannu Niemistö <hannu.niemisto@semantum.fi>
Tue, 3 Jul 2018 09:34:02 +0000 (12:34 +0300)
commitb7e0c64be5f57fa57e71495f1b8990b2df27a144
tree486a7884e54823f6ca004c184d416d0fe477182f
parent66b0635a62a149c791d5f80b43144328ab7a4639
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
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