DescriptionMake changing a record's type an atomic operation.
Accessing the type_id is generally thread-safe within the PMA
code because it is only accessed once the memory is owned to
the exclusion of any other allocator. The same can't be said,
however, once access to it is given to a caller and so
protection needs to be added so that callers can't introduce
race conditions due to their inter-process thread-unsafety.
BUG=546019
Committed: https://crrev.com/84a8e0963774266d197d9bf90c952d983ab74869
Cr-Commit-Position: refs/heads/master@{#397711}
Patch Set 1 #
Messages
Total messages: 8 (3 generated)
|