作者: 谢瑞阳 10225101483 徐翔宇 10225101535
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
costan 41172a2401 Enable thread safety annotations in open source version. 6 lat temu
..
win reverting disastrous MOE commit, returning to r21 删除 13 lat temu
README reverting disastrous MOE commit, returning to r21 13 lat temu
atomic_pointer.h Use __APPLE__ instead of OS_MACOS. The former is compiler-provided. 7 lat temu
port.h Remove static initializer; fix endian-ness detection; fix build on 12 lat temu
port_example.h Enable thread safety annotations in open source version. 6 lat temu
port_posix.cc Including atomic_pointer.h in port_posix 9 lat temu
port_posix.h Enable thread safety annotations in open source version. 6 lat temu
thread_annotations.h Enable thread safety annotations in open source version. 6 lat temu

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.