I am looking for a good name to create data structures that are thread safe / internally synchronized.
The C ++ standard uses the term atomic , but atomic has a rather special meaning . Microsoft uses the term Concurrent in its collections with thread support (or in C ++ _concurrent in Parallel containers ).
I would like it to be a generic wrapper for types (values), which provides a similar set of operations for what std :: atomics does, but with a different name and some typedefs derived from it. (usage example: something like std :: atomic for std :: string )
Which of the following do you find useful / not useful and why?
SynchronizedThingamajig (or thingamajig_synchronized or synchronized_thingamajig )Concurrent...ThreadSafe...Safe...Parallel...Locked...Mutex ... or Mutexed...Multithreaded...
For the example line that I gave, maybe synchronized_string or concurrent_string would make the most sense, or would it come across any other connotation?
source share