Update mthread.c