fix resume(), add resumeRaw(), and handle synchronous calls to resume/Raw()
fork() and join() for parallelization