Revision c22d21ad doc/activitydiagrams/subscriber/urtSubscriberSubscribeFrt.uml
doc/activitydiagrams/subscriber/urtSubscriberSubscribeFrt.uml | ||
---|---|---|
62 | 62 |
fork again |
63 | 63 |
:set topic; |
64 | 64 |
endfork |
65 |
:lock topic; |
|
66 | 65 |
fork |
67 |
if (Messages to contribute?) then (yes) |
|
68 |
partition "contribute messages" { |
|
69 |
:set next pointer of topic's latest message to first message to contribute; |
|
70 |
:set next pointer of last message to contribute to the message after the topic's latest message; |
|
71 |
} |
|
72 |
else (no) |
|
73 |
endif |
|
74 |
fork again |
|
75 |
:set message pointer to topic's latest message; |
|
66 |
:lock topic; |
|
67 |
fork |
|
68 |
if (Messages to contribute?) then (yes) |
|
69 |
partition "contribute messages" { |
|
70 |
:set next pointer of topic's latest message to first message to contribute; |
|
71 |
:set next pointer of last message to contribute to the message after the topic's latest message; |
|
72 |
} |
|
73 |
else (no) |
|
74 |
endif |
|
75 |
fork again |
|
76 |
:set message pointer to topic's latest message; |
|
77 |
endfork |
|
78 |
:unlock topic; |
|
76 | 79 |
fork again |
77 | 80 |
:register to topic's event source; |
78 | 81 |
endfork |
79 |
:unlock topic; |
|
80 | 82 |
:return ""URT_STATUS_OK""; |
81 | 83 |
endif |
82 | 84 |
|
Also available in: Unified diff