leveldb/port
Sanjay Ghemawat 075a35a6d3 Remove static initializer; fix endian-ness detection; fix build on
various platforms; improve android port speed.

Avoid static initializer by using a new portability interface for
thread-safe lazy initialization.  Custom ports will need to be
extended to implement InitOnce/OnceType/LEVELDB_ONCE_INIT.

Fix endian-ness detection (fixes Powerpc builds).

Build related fixes:
- Support platforms that have unversioned shared libraries.
- Fix IOS build rules.

Android improvements
- Speed up atomic pointers
- Share more code with port_posix.

Do not spin in a tight loop attempting compactions if the file system
is inaccessible (e.g., if kerberos tickets have expired or if it is out
of space).
2012-05-30 09:45:46 -07:00
..
win reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
atomic_pointer.h Remove static initializer; fix endian-ness detection; fix build on 2012-05-30 09:45:46 -07:00
port_android.cc A number of fixes: 2011-10-31 17:22:06 +00:00
port_android.h Added bloom filter support. 2012-04-17 08:36:46 -07:00
port_example.h Remove static initializer; fix endian-ness detection; fix build on 2012-05-30 09:45:46 -07:00
port_posix.cc Remove static initializer; fix endian-ness detection; fix build on 2012-05-30 09:45:46 -07:00
port_posix.h Remove static initializer; fix endian-ness detection; fix build on 2012-05-30 09:45:46 -07:00
port.h Remove static initializer; fix endian-ness detection; fix build on 2012-05-30 09:45:46 -07:00
README reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00

This directory contains interfaces and implementations that isolate the
rest of the package from platform details.

Code in the rest of the package includes "port.h" from this directory.
"port.h" in turn includes a platform specific "port_<platform>.h" file
that provides the platform specific implementation.

See port_posix.h for an example of what must be provided in a platform
specific header file.