Add ConcurrentHashMap installable
authorShu Zhang <shuzhang1989@users.noreply.github.com>
Wed, 16 Aug 2017 20:17:13 +0000 (13:17 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Wed, 16 Aug 2017 20:20:54 +0000 (13:20 -0700)
Summary:
ConcurrentHashMap is a newly added feature and we wanted to test it in our enviornment, making it installable.

Built & Installed on ubuntu 14 env.
Closes https://github.com/facebook/folly/pull/659

Reviewed By: djwatson

Differential Revision: D5629159

Pulled By: yfeldblum

fbshipit-source-id: 8a40e768f3db7918a3b284059f2efa0b7ecb9aca

folly/Makefile.am

index 0d09403564b88613f76a70f0c07f6187b31a7c71..e77c704215b8d7424c0de27610bbedd75de77005 100644 (file)
@@ -57,7 +57,9 @@ nobase_follyinclude_HEADERS = \
        CpuId.h \
        CPortability.h \
        concurrency/CacheLocality.h \
+       concurrency/ConcurrentHashMap.h \
        concurrency/CoreCachedSharedPtr.h \
+       concurrency/detail/ConcurrentHashMap-detail.h \
        detail/AtomicHashUtils.h \
        detail/AtomicUnorderedMapUtils.h \
        detail/AtomicUtils.h \
@@ -119,6 +121,10 @@ nobase_follyinclude_HEADERS = \
        experimental/exception_tracer/StackTrace.h \
        experimental/FunctionScheduler.h \
        experimental/FutureDAG.h \
+       experimental/hazptr/debug.h \
+       experimental/hazptr/hazptr.h \
+       experimental/hazptr/hazptr-impl.h \
+       experimental/hazptr/memory_resource.h \
        experimental/io/FsUtil.h \
        experimental/JemallocNodumpAllocator.h \
        experimental/JSONSchema.h \
@@ -484,6 +490,8 @@ libfolly_la_SOURCES = \
        futures/QueuedImmediateExecutor.cpp \
        futures/ThreadWheelTimekeeper.cpp \
        futures/test/TestExecutor.cpp \
+       experimental/hazptr/hazptr.cpp \
+       experimental/hazptr/memory_resource.cpp \
        GlobalThreadPoolList.cpp \
        GroupVarint.cpp \
        GroupVarintTables.cpp \