作者: 韩晨旭 10225101440 李畅 10225102463
Chris Mumford 900f7d37eb Merge pull request #624 from adam-azarchs:master преди 6 години
..
README.md Moved port/README to port/README.md. преди 6 години
port.h Format all files IAW the Google C++ Style Guide. преди 6 години
port_config.h.in Add O_CLOEXEC to open calls. преди 6 години
port_example.h leveldb: Replace AtomicPointer with std::atomic. преди 6 години
port_stdcxx.h Format all files IAW the Google C++ Style Guide. преди 6 години
thread_annotations.h Format all files IAW the Google C++ Style Guide. преди 6 години

README.md

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_.h" file that provides the platform specific implementation.

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