Are all these structures thread safe? #68
Labels
No labels
bug
discussion
documentation
duplicate
ignore
new feature
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
golibs/gms-gods#68
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi guys, I'm wondering whether I should use RWMutex with the structures? I'm working on a concurrent application. Thanks very much!
@zhaoxy2850 No, they are not. Thread safety is not a concern of this project. This should be handled at a higher level, hence use of RWMutex to wrap GoDS insertion/retrieval methods is the way to go.
Thanks!
@emirpasic Does this these data structures are safe for concurrent reads? (e.g. with an iterator?)