Have a weird mmap problem. May switch to pthreads.