screwed beyond all help, so it can just skip the pthreads wrapper for write(2) and call directly into it.