How does one represent shared pointers across threads in UML for class diagrams and sequence diagrams?

I especially want to document the ownership of the memory even though it's accessibility (a pointer/reference) may be moving through the system and possibly that it is a shared memory address.

Moreover, are there notation differences for specifying types of smart pointers (shared, unique, *raw, etc)?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.