作者: 谢瑞阳 10225101483 徐翔宇 10225101535
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
costan 8c8024ea33 Switch HAVE_ library detection macros to 0/1. 6 years ago
..
win reverting disastrous MOE commit, returning to r21 删除 13 years ago
README reverting disastrous MOE commit, returning to r21 13 years ago
atomic_pointer.h Use __APPLE__ instead of OS_MACOS. The former is compiler-provided. 7 years ago
port.h Remove static initializer; fix endian-ness detection; fix build on 12 years ago
port_example.h Enable thread safety annotations in open source version. 6 years ago
port_posix.cc Including atomic_pointer.h in port_posix 9 years ago
port_posix.h Switch HAVE_ library detection macros to 0/1. 6 years ago
thread_annotations.h Enable thread safety annotations in open source version. 6 years ago

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.