A multithread data communication system with Petri net modeling
XU Qin-jun · Fuzhou daxue xuebao. Ziran kexue ban · 2012
A Petri-net model for the data transmission module is established in this paper according to the design requirement of the multithreaded data communication system.This model is used for simulating and analyzing the issues involved in the process of data transmission such as synchronous collaboration between threads,exclusive access to shared resources,and choice of the right time about starting or ending of thread.Based on the analyze result,an efficient multithreaded communication software solution for the data queue is presented.This software solution can enhance the security and stability of the multithreaded serial communication program.