Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
Chris Mumford 900f7d37eb Merge pull request #624 from adam-azarchs:master 5 år sedan
..
README.md Moved port/README to port/README.md. 5 år sedan
port.h Format all files IAW the Google C++ Style Guide. 5 år sedan
port_config.h.in Add O_CLOEXEC to open calls. 5 år sedan
port_example.h leveldb: Replace AtomicPointer with std::atomic. 5 år sedan
port_stdcxx.h Format all files IAW the Google C++ Style Guide. 5 år sedan
thread_annotations.h Format all files IAW the Google C++ Style Guide. 5 år sedan

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.