What would be the best UML diagram to show decoupling of two multithreaded classes, joined
by a producer consumer queue.
I’ve done a whole bundle of class diagrams in the past, but they seem to be really static.
Is it possibly the case that UML is not very good at modelling threading.
Thanks.
Use a sequence diagram. One lifeline for each class, one lifeline for the queue.