Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I'd like to draw (pen and pencils) threads interaction in a UML(-like) notation. I don't insist on UML, anything that is obvious to the reader should do.

I started with sequence diagrams, but I don't feel this is the best way to do that. All the time, there would be "action initiators" coming from off-screen which kinda break the SSD idea. I inherited a medium size code base with around 9 - 10 threads each owning a state machine and I'm trying to figure out how it works.

How should I visualize thread interaction?

share|improve this question

1 Answer 1

up vote 5 down vote accepted

The Lawrence Livermore National Laboratory has some good guides on Parallel Computing and Programming. In particular, the guide to Posix Threads has some very well done charts that illustrate how to visualize threads and their interaction.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.