Revision c22d21ad doc/activitydiagrams/subscriber/urtSubscriberSubscribeSrt.uml

View differences:

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

  

Also available in: Unified diff