• Thomas Van Lenten's avatar
    Remove the use of dispatch_once that is heap backed. · 130c1666
    Thomas Van Lenten authored
    Apple recently updated the docs on dispatch_once to point out
    that the storage for the dispatch_once_t must be static or global,
    but not something that was ever used before as the implementation
    doesn't use a memory barrier.  So we drop the use and create the
    semaphore when needed and use an atomic swap deal with any
    threading races.
    130c1666
Name
Last commit
Last update
..
DevTools Loading commit data...
ProtocolBuffers_OSX.xcodeproj Loading commit data...
ProtocolBuffers_iOS.xcodeproj Loading commit data...
Tests Loading commit data...
google/protobuf Loading commit data...
.gitignore Loading commit data...
GPBArray.h Loading commit data...
GPBArray.m Loading commit data...
GPBArray_PackagePrivate.h Loading commit data...
GPBBootstrap.h Loading commit data...
GPBCodedInputStream.h Loading commit data...
GPBCodedInputStream.m Loading commit data...
GPBCodedInputStream_PackagePrivate.h Loading commit data...
GPBCodedOutputStream.h Loading commit data...
GPBCodedOutputStream.m Loading commit data...
GPBCodedOutputStream_PackagePrivate.h Loading commit data...
GPBDescriptor.h Loading commit data...
GPBDescriptor.m Loading commit data...
GPBDescriptor_PackagePrivate.h Loading commit data...
GPBDictionary.h Loading commit data...
GPBDictionary.m Loading commit data...
GPBDictionary_PackagePrivate.h Loading commit data...
GPBExtensionInternals.h Loading commit data...
GPBExtensionInternals.m Loading commit data...
GPBExtensionRegistry.h Loading commit data...
GPBExtensionRegistry.m Loading commit data...
GPBMessage.h Loading commit data...
GPBMessage.m Loading commit data...
GPBMessage_PackagePrivate.h Loading commit data...
GPBProtocolBuffers.h Loading commit data...
GPBProtocolBuffers.m Loading commit data...
GPBProtocolBuffers_RuntimeSupport.h Loading commit data...
GPBRootObject.h Loading commit data...
GPBRootObject.m Loading commit data...
GPBRootObject_PackagePrivate.h Loading commit data...
GPBRuntimeTypes.h Loading commit data...
GPBUnknownField.h Loading commit data...
GPBUnknownField.m Loading commit data...
GPBUnknownFieldSet.h Loading commit data...
GPBUnknownFieldSet.m Loading commit data...
GPBUnknownFieldSet_PackagePrivate.h Loading commit data...
GPBUnknownField_PackagePrivate.h Loading commit data...
GPBUtilities.h Loading commit data...
GPBUtilities.m Loading commit data...
GPBUtilities_PackagePrivate.h Loading commit data...
GPBWellKnownTypes.h Loading commit data...
GPBWellKnownTypes.m Loading commit data...
GPBWireFormat.h Loading commit data...
GPBWireFormat.m Loading commit data...
README.md Loading commit data...
generate_well_known_types.sh Loading commit data...