mirror of
https://github.com/google/leveldb.git
synced 2024-12-19 18:37:46 +08:00
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
11 lines
406 B
Plaintext
11 lines
406 B
Plaintext
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.
|
|
|