Search International and National Patent Collections
|1. (WO2018218908) GRAPHICAL PROGRAMMING MULTI-THREAD SYNCHRONIZATION METHOD|
|Applicants:||SOUTH CHINA UNIVERSITY OF TECHNOLOGY
|Title:||GRAPHICAL PROGRAMMING MULTI-THREAD SYNCHRONIZATION METHOD|
A graphical programming multi-thread synchronization method. When a user performs graphical programming, the graphical programming multi-thread synchronization method is used for managing and synchronizing multiple threads during graphical programming, solving the problem that the existing graphical programming systems do not support multi-thread synchronization. During multi-thread processing, the present method forms a directed acyclic graph for graphical programming components. A depth first search is performed on each single connected component, and the programming components are processed one by one. When the programming component is a branch node, a new branch thread starting flag is added and the current thread is ended; and when the programming component is a branch merge point, the first father programming component node of the merge point is responsible for starting the thread and adding a thread waiting flag, so as to wait for the synchronization of the graphical programming thread. The present method enables the graphical multi-threaded programming to have the function of thread synchronization, such that programmers can write graphical programs with more functions.