From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.



什麼是Rendezvous?



主要軟體: LabVIEW Development Systems>>LabVIEW Full Development System
主要軟體版本: 7.1
主要軟體修正版本:
次要軟體: LabVIEW Development Systems>>LabVIEW Base Development System, LabVIEW Development Systems>>LabVIEW Professional Development System

問題:
什麼是rendezvous和它在LabVIEW裡面的用處是什麼?

解答:


Rendezvous會確保多執行緒或多個VI等到某個執行點才開始執行。沒有執行緒會執行直到所有其它執行緒都運行進入到了rendezvous。rendezvous對於兩段或多段不同的程式碼同步非常有幫助。這和創造一個事件(occurrence)並用它來觸發在相同或不同VI裡的好幾個等待事件節點(Wait on Occurrence nodes)的效果相似。rendezvous的好處是在Wait at Rendezvous節點回傳值之前,使用者都可以定義並程式化改變所有用到rendezvous的程式碼數量。



相關連結:
KnowledgeBase DIRECT-3S8RDE: What Is a Queue?
KnowledgeBase DIRECT-3S8RDV: What Is a Semaphore?
KnowledgeBase DIRECT-3S8RCH: What Is a Notifier?
Developer Zone Example: Rendezvous with Three Parallel SubVIs

附加檔案:





報告日期: 03/03/1998
最後更新: 11/05/2007
文件偏號: DIRECT-3S8REX