Multi-threading technology to solve the application design of real-time performance of open CNC system