rocksdb/port
Dhruba Borthakur a58d48de79 Implement ReadWrite locks for leveldb
Summary:
Implement ReadWrite locks for leveldb. These will be helpful
to implement a read-modify-write operation (e.g. atomic increments).

Test Plan: does not modify any existing code

Reviewers: heyongqiang

Reviewed By: heyongqiang

CC: MarkCallaghan

Differential Revision: https://reviews.facebook.net/D5787
2012-10-01 22:37:39 -07:00
..
win reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
atomic_pointer.h merge 1.5 2012-08-28 11:43:33 -07:00
port.h merge 1.5 2012-08-28 11:43:33 -07:00
port_example.h merge 1.5 2012-08-28 11:43:33 -07:00
port_posix.cc Implement ReadWrite locks for leveldb 2012-10-01 22:37:39 -07:00
port_posix.h Implement ReadWrite locks for leveldb 2012-10-01 22:37:39 -07:00
README reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00

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.