Windows提供两种线程,辅助线程(又叫工作线程)和用户界面线程。Microsoft Foundation Class(MFC)库对两种线程都支持。一个用户界面线程有窗口,因此它有自己的消息循环;辅助线程没有窗口,所以它不需要处理消息。Windows主线程(我们的应...Windows提供两种线程,辅助线程(又叫工作线程)和用户界面线程。Microsoft Foundation Class(MFC)库对两种线程都支持。一个用户界面线程有窗口,因此它有自己的消息循环;辅助线程没有窗口,所以它不需要处理消息。Windows主线程(我们的应用程序)可以有许多方法跟辅助线程通讯。本文主要阐述了如何利用事件启动辅助线程和终止辅助线程。展开更多
To achieve the production information management of the coning,drawing and twisting's workshop,and promote a good and fast development of the textile enterprise,firstly,we analyze the information technology develo...To achieve the production information management of the coning,drawing and twisting's workshop,and promote a good and fast development of the textile enterprise,firstly,we analyze the information technology development status of the textile enterprise at home and abroad,study the weaknesses of the existing computer monitoring system,introduce the system design project,and propose a system network model based on client/server(C/S)mode.Secondly,a multi-agent production monitoring and control system is developed,and the communication of the single-port-multi-protocol and a multi-thread data collection technology are studied via the multi-thread and standard template library(STL)technologies.Thirdly,the system management functions,the structure design of the database,and the technical difficulties in the process of software design are also introduced.As proved in practice,the system satisfies the production management requirements of the workshop,and implements the network management of the production information.展开更多
文摘Windows提供两种线程,辅助线程(又叫工作线程)和用户界面线程。Microsoft Foundation Class(MFC)库对两种线程都支持。一个用户界面线程有窗口,因此它有自己的消息循环;辅助线程没有窗口,所以它不需要处理消息。Windows主线程(我们的应用程序)可以有许多方法跟辅助线程通讯。本文主要阐述了如何利用事件启动辅助线程和终止辅助线程。
文摘To achieve the production information management of the coning,drawing and twisting's workshop,and promote a good and fast development of the textile enterprise,firstly,we analyze the information technology development status of the textile enterprise at home and abroad,study the weaknesses of the existing computer monitoring system,introduce the system design project,and propose a system network model based on client/server(C/S)mode.Secondly,a multi-agent production monitoring and control system is developed,and the communication of the single-port-multi-protocol and a multi-thread data collection technology are studied via the multi-thread and standard template library(STL)technologies.Thirdly,the system management functions,the structure design of the database,and the technical difficulties in the process of software design are also introduced.As proved in practice,the system satisfies the production management requirements of the workshop,and implements the network management of the production information.