rocksdb/port
Jos Collin 60847a3b08 port: updated PhysicalCoreID()
Summary: Checked the return value of __get_cpuid(). Implemented the else case where the arch is different from i386 and x86_64.

Pulled By: ajkr

Differential Revision: D4973496

fbshipit-source-id: c40fdef5840364c2a79b1d11df0db5d4ec3d6a4a
2017-05-03 13:08:55 -07:00
..
win Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
dirent.h Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
likely.h Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
port_example.h Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
port_posix.cc port: updated PhysicalCoreID() 2017-05-03 13:08:55 -07:00
port_posix.h Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
port.h Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
README reverting disastrous MOE commit, returning to r21 2011-04-19 23:11:15 +00:00
stack_trace.cc Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
stack_trace.h Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
sys_time.h Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
util_logger.h Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07:00
xpress.h Add GPLv2 as an alternative license. 2017-04-27 18:06:12 -07: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.