Leslie Munday wrote: > So, one more brief simple question, if a transition activates an activity, and > while that activity is exercising it receives a subsequent transition, > 1) does the activity reset and start again, > 2) does it complete before addressing the new stimulus, > 3) does it ignore the subsequent stimulus or > 4) is the behaviour customisable based upon the specification of the activity? > > Les. (Please don't lose any sleep over the W/E, answer can wait until Monday.)
I don't think the definition of an activity allows your hypothesis. The activity diagram is a specialized form of state diagram, and any given activity or state operates only in discrete ticks. An activity is a degenerate state, with no memory of the past, and its response to an event in a particular tick is atomic. Your question does raise a good point, though. It is possible to launch multiple threads of control that will come back asynchronously to a single activity. Offhand, I can't think of a situation where I would want to work this way, but it doesn't defy any laws of physics. -Eric ************************************************************************ * Rose Forum is a public venue for ideas and discussions. * For technical support, visit http://www.rational.com/support * * Post or Reply to: [EMAIL PROTECTED] * Subscription Requests: [EMAIL PROTECTED] * Archive of messages: * http://www.rational.com/support/usergroups/rose/rose_forum.jsp * Other Requests: [EMAIL PROTECTED] * * To unsubscribe from the list, please send email * To: [EMAIL PROTECTED] * Subject: <BLANK> * Body: unsubscribe rose_forum *************************************************************************
