Initial concurrency support work. Forking works, sleep-wake doesn't.