On Sat, 23 Jun 2012 18:29:50 +0200, Ali Çehreli <acehreli at yahoo.com> wrote: > receive( > (Tid id, int i) > { > writeln("Secondary thread: ", i); > }, > (OwnerTerminated exc) // <----- as a message > { > done = true; > } > ); Nice. I thought you had to send an explicit message.