[Lockfree] has_trivial_destructor and has_trivial_assign restrictions

28 Oct
2014
28 Oct
'14
12:01 p.m.
I've been doing some thinking about this, and to my untrained eye these restrictions do not seem to be a requirement of the lock-free structure. That is to say, they need not be atomic anyhow, so why does it matter if they are trivial or not? The question goes to making the data structures more globally useful. The more structures they can be used with, the better they are (at least in my opinion). Thanks, Dan

28 Oct
28 Oct
4:56 p.m.
New subject: [Lockfree] has_trivial_destructor and has_trivial_assign restrictions
I've been doing some thinking about this, and to my untrained eye these restrictions do not seem to be a requirement of the lock-free structure.
assignment/destruction may be performed on invalid data. for details, read the michael&scott paper.
3826
Age (days ago)
3826
Last active (days ago)
1 comments
2 participants
participants (2)
-
Dan Dillon
-
Tim Blechmann