GNOME Bugzilla – Bug 589548
MultiThread collections
Last modified: 2019-03-20 10:37:05 UTC
Collections should be able to be shared across many threads. For performance reasons possibly wrappers should be created. - Synchronized{Collection,Set,...} - Wrapper simply wrapping in mutex the operation. Probably it should support some HL atomic operations. - Possibly a variant with ReadWrite lock instead of full lock for heavly read collections - CopyOnWrite{Collect,Set...}
(In reply to comment #0) > Collections should be able to be shared across many threads. For performance > reasons possibly wrappers should be created. > > - Synchronized{Collection,Set,...} - Wrapper simply wrapping in mutex the > operation. Probably it should support some HL atomic operations. > - Possibly a variant with ReadWrite lock instead of full lock for heavly read > collections > - CopyOnWrite{Collect,Set...} Some time ago there was discussion about using SkipListMap/SkipListSet. It would need proper volatile support in vala or preferably atomic support.
Lock-free data structures are accepted into 0.7
Concurrently accessable list is in 0.8, set in 0.10 and map will be in 0.12.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/libgee/issues/6.