-
- Downloads
GeoModelKernel: Fix race in RCBase::unref().
The decrement and test must be done atomically; otherwise we could have a race. E.g., suppose a RCBase object has a refcount of 2, and two threads call unref simultaneously. The two decrements could both happen before either of the comparisons, resulting in a double-delete.
parent
ff0b07aa
No related branches found
No related tags found
Please register or sign in to comment