Workflow Control Pattern 3 - Synchronization
2011-10-03 12:18:58 1 举报
登录查看完整内容
The convergence of two or more branches into a single subsequent branch such that the thread of control is passed to the subsequent branch when all input branches have been enabled. AND-join, rendezvous, synchronizer. Examples: -The despatch-goods task runs immediately after both the check-invoice and produce-invoice tasks are completed. -Cash-drawer reconciliation can only occur when the store has been closed and the credit card summary has been printed. Examples: -After completion of the capture enrolment task, run the create student profile and issue enrolment confirmation tasks simultaneously. -When an intrusion alarm is received, trigger the despatch patrol task and the inform police task immediately. -Once the customer has paid for the goods, pack them and issue a receipt.
作者其他创作
大纲/内容
Synchronization pattern
o1
CID
c
C
B
p1
A
l1
l2
p2
0 条评论
回复 删除
下一页