Threads are not supported because we cannot pass function pointers across domain boundaries to spawn a new thread.