DescriptionValueMap<Value*, T> is safe to use even when keys get RAUWed and deleted during its lifetime. By default the keys act like WeakVHs, but users can pass a third template parameter to configure how updates work and whether to do anything beyond updating the map on each action.
This type should make http://codereview.appspot.com/133043/diff/1/2 quite a bit simpler, but I haven't yet updated it so I could have missed something.
Patch Set 1 #Patch Set 2 : Add lock support and fix a reentrant callback problem #
MessagesTotal messages: 1
|