leveldb/util
gabor@google.com f57e23351f Platform detection during build, plus compatibility patches for machines without <cstdatomic>.
This revision adds two major changes:
1. build_detect_platform which generates build_config.mk
   with platform-dependent flags for the build process
2. /port/atomic_pointer.h with anAtomicPointerimplementation
   for platforms without <cstdatomic>

Some of this code is loosely based on patches submitted to the 
LevelDB mailing list at https://groups.google.com/forum/#!forum/leveldb
Tip of the hat to Dave Smith and Edouard A, who both sent patches.

The presence of Snappy (http://code.google.com/p/snappy/) and
cstdatomic are now both detected in the build_detect_platform
script (1.) which gets executing during make.

For (2.), instead of broadly importing atomicops_* from Chromium or
the Google performance tools, we chose to just implement AtomicPointer 
and the limited atomic load and store operations it needs. 
This resulted in much less code and fewer files - everything is 
contained in atomic_pointer.h.



git-svn-id: https://leveldb.googlecode.com/svn/trunk@34 62dab493-f737-651d-591e-8d6aee1b9529
2011-06-29 00:30:50 +00:00
..
arena_test.cc reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
arena.cc @20776309 2011-04-20 22:48:11 +00:00
arena.h reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
cache_test.cc reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
cache.cc Platform detection during build, plus compatibility patches for machines without <cstdatomic>. 2011-06-29 00:30:50 +00:00
coding_test.cc reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
coding.cc @20776309 2011-04-20 22:48:11 +00:00
coding.h reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
comparator.cc @20776309 2011-04-20 22:48:11 +00:00
crc32c_test.cc reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
crc32c.cc reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
crc32c.h reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
env_chromium.cc sync with upstream @ 21409451 2011-05-21 02:17:43 +00:00
env_posix.cc sync with upstream @ 21409451 2011-05-21 02:17:43 +00:00
env_test.cc reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
env.cc reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
hash.cc reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
hash.h reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
histogram.cc reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
histogram.h reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
logging.cc @20776309 2011-04-20 22:48:11 +00:00
logging.h reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
mutexlock.h reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
options.cc @20776309 2011-04-20 22:48:11 +00:00
random.h @20776309 2011-04-20 22:48:11 +00:00
status.cc sync with upstream @ 21409451 2011-05-21 02:17:43 +00:00
testharness.cc reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
testharness.h reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
testutil.cc reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
testutil.h reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00