#132 use pthread instead of fork, now there is only one process