# HG changeset patch # User wenzelm # Date 1586029100 -7200 # Node ID d682b4000a77318f114134f4be29ca9bcc22c091 # Parent fef74c06cfacb2bb9f596ea09abbf19bde106472 proper use of flag; diff -r fef74c06cfac -r d682b4000a77 src/Pure/Concurrent/standard_thread.scala --- a/src/Pure/Concurrent/standard_thread.scala Sat Apr 04 21:16:06 2020 +0200 +++ b/src/Pure/Concurrent/standard_thread.scala Sat Apr 04 21:38:20 2020 +0200 @@ -30,8 +30,8 @@ uninterruptible: Boolean = false)(body: => Unit): Standard_Thread = { val main = - if (uninterruptible) new Runnable { override def run { body } } - else new Runnable { override def run { Standard_Thread.uninterruptible { body } } } + if (uninterruptible) new Runnable { override def run { Standard_Thread.uninterruptible { body } } } + else new Runnable { override def run { body } } val thread = new Standard_Thread(main, name = make_name(name = name), group = group, pri = pri, daemon = daemon, inherit_locals = inherit_locals)