nomicon icon indicating copy to clipboard operation
nomicon copied to clipboard

Can we have some more info on Send and Sync

Open montekki opened this issue 6 years ago • 0 comments

The current documentation has a TODO: better explain what can or can't be Send or Sync. Sufficient to appeal only to data races?

The explanation on what can and can't be Send or Sync would be very useful. For instance, it could contain why LinkedList is Send while it contains pointer fields that are not Send and this is Ok and the changes that could be introduced to this container so it actually stops being Send.

Thanks

montekki avatar Oct 22 '18 11:10 montekki