SIGN IN SIGN UP

Protocol Buffers - Google's data interchange format

0 0 35 C++

Switch to atomic for setting autocreated objects.

- Update semaphore comment to new scope.
- Use an atomic swap to avoid needing to use the semaphore.

This means the semaphore is create only when extension are auto created (less
memory usage).
T
Thomas Van Lenten committed
2123ed5df70b043cc14f74231cfeabd26e02176a
Parent: de5d1b9