diff options
author | pliard@google.com <pliard@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2012-04-10 08:15:18 +0000 |
---|---|---|
committer | pliard@google.com <pliard@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2012-04-10 08:15:18 +0000 |
commit | 7cc257673c5019b65dd04b55c21967b88b1d63c2 (patch) | |
tree | b2e6f50871f44c6e5ac790826be0175ec7f88903 /post_process_dist.sh | |
parent | 6a10204df6e22945ccf816bdf354525e7b07467b (diff) | |
download | protobuf-7cc257673c5019b65dd04b55c21967b88b1d63c2.tar.gz protobuf-7cc257673c5019b65dd04b55c21967b88b1d63c2.tar.bz2 protobuf-7cc257673c5019b65dd04b55c21967b88b1d63c2.zip |
Improve GoogleOnceInit() in Protocol Buffers.
It is based on V8's new CallOnce(): http://codereview.chromium.org/9447052/.
This patch includes the following changes:
- POD (no static initializer generated) and faster implementation on Windows.
- GoogleOnceInit() can now take an additional parameter which is forwarded to
the function provided by the user.
This patch is part of the static initializers removal initiative.
Diffstat (limited to 'post_process_dist.sh')
0 files changed, 0 insertions, 0 deletions