作者: 韩晨旭 10225101440 李畅 10225102463
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.
 
 
costan 739c25100e Add CMake build support. 6 år sedan
..
win reverting disastrous MOE commit, returning to r21 删除 13 år sedan
README reverting disastrous MOE commit, returning to r21 13 år sedan
atomic_pointer.h Bypass OSMemoryBarrier() warning on Mac. 6 år sedan
port.h Remove static initializer; fix endian-ness detection; fix build on 12 år sedan
port_config.h.in Add CMake build support. 6 år sedan
port_example.h Remove extern from function declarations. 6 år sedan
port_posix.cc Including atomic_pointer.h in port_posix 9 år sedan
port_posix.h Add CMake build support. 6 år sedan
thread_annotations.h Enable thread safety annotations in open source version. 6 år sedan

README

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.