发明名称 Multi-threaded subgraph execution control in a graphical modeling environment
摘要 Exemplary embodiments support multi-threaded subgraph execution control within a graphical modeling or graphical programming environment. In an embodiment, a subgraph may be identified as a subset of blocks within a graphical model, or graphical program, or both. A subgraph initiator may explicitly execute the subgraph while maintaining data dependencies within the subgraph. Explicit signatures may be defined for the subgraph initiator and the subgraph either graphically or textually. Execution control may be branched wherein the data dependencies within the subgraph are maintained. Execution control may be joined together wherein the data dependencies within the subgraph are maintained. Exemplary embodiments may allow subgraphs to execute on different threads within a graphical modeling or programming environment.
申请公布号 US9195439(B2) 申请公布日期 2015.11.24
申请号 US201314011178 申请日期 2013.08.27
申请人 The MathWorks, Inc. 发明人 Ciolfi John Edward;Mani Ramamurthy;Zhang Qu
分类号 G06F9/44 主分类号 G06F9/44
代理机构 Nelson Mullins Riley & Scarborough LLP 代理人 Nelson Mullins Riley & Scarborough LLP
主权项 1. A computer-implemented method in a graphical modeling environment, the method comprising: providing a first control initiator, where the first control initiator is connected to a first sub graph by a first control signal, where: the first control initiator is a block that uses the first control signal to explicitly control execution of the first subgraph; executing the first subgraph in a first thread whose execution is explicitly controlled; providing a second control initiator, where the second control initiator is connected to a second subgraph by a second control signal; executing the second subgraph in a second thread whose execution is explicitly controlled; interacting with a data synchronization block, where: the interacting allows a result from the first subgraph to be used by the second subgraph when the second sub graph is executing; with the data synchronization block, waiting for the first thread to finish executing before allowing the result to be used by the second subgraph when the second subgraph is executing; and producing an error when the result is used in the second thread without passing through the data synchronization block.
地址 Natick MA US