Create thread.ptmp