succeeding version, without -threaded created capset 0 of type 2 created capset 1 of type 3 assigned cap 0 to capset 0 assigned cap 0 to capset 1 new task (taskCount: 1) cap 0: created thread 1 cap 0: thread 1 appended to run queue new bound thread (1) cap 0: schedule() cap 0: running thread 1 (ThreadRunGHC) cap 0: thread 1 stopped (finished) bound thread (1) finished task exiting new task (taskCount: 1) cap 0: created thread 2 cap 0: thread 2 appended to run queue new bound thread (2) cap 0: schedule() cap 0: running thread 2 (ThreadRunGHC) cap 0: thread 2 stopped (suspended while making a foreign call) cap 0: running thread 2 (ThreadRunGHC) hello cap 0: thread 2 stopped (finished) bound thread (2) finished task exiting new task (taskCount: 1) all threads: threads on capability 0: other threads: deleting all threads removed cap 0 from capset 0 removed cap 0 from capset 1 deleted capset 0 deleted capset 1 task exiting freeing task manager, 0 tasks still running