How to rep threads in sequence diagrams

Hi all,
Please can any1 help me out in representing the threads in Sequence diagram

Hi Akshay Rao KV,

Thanks for your post. You can create an active object, then create a lifeline with the active class as Base Classifier. After that, create a asynchronous message to the lifeline (just right-click on the message and turn on “Asynchronous” in the popup menu).
You can refer to the attached image. Hope this helps.

Best regards,
Lilian Wong


threads.png

Is there another way to represent threads via a different diagram? Visually, this approach doesn’t look any different than two (non-threaded) lifelines. I use the create message for threads, but don’t know if that’s the right approach.

Hi David Matsumoto,

Thanks for your post. Yes, create message is the correct approach.

Best regards,
Lilian Wong