作者: 谢瑞阳 10225101483 徐翔宇 10225101535
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 41172a2401 Enable thread safety annotations in open source version. 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 Use __APPLE__ instead of OS_MACOS. The former is compiler-provided. 7 år sedan
port.h Remove static initializer; fix endian-ness detection; fix build on 12 år sedan
port_example.h Enable thread safety annotations in open source version. 6 år sedan
port_posix.cc Including atomic_pointer.h in port_posix 9 år sedan
port_posix.h Enable thread safety annotations in open source version. 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.