d177a0263c
The porting layer implements threading primitives: atomic pointers, condition variables, mutexes, thread-safe initialization. These are all specified in C++11, so the reference open source port implementation can become platform-independent. The porting layer will remain in place to allow the use of other implementations with more features, such as the built-in deadlock detection in abseil's Mutex. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=193245934 |
||
---|---|---|
.. | ||
win | ||
atomic_pointer.h | ||
port_config.h.in | ||
port_example.h | ||
port_stdcxx.h | ||
port.h | ||
README | ||
thread_annotations.h |
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_stdcxx.h for an example of what must be provided in a platform specific header file.