PackedSyncPtr】的更多相关文章

folly/PackedSyncPtr.h A highly specialized data structure consisting of a pointer, a 1-bit spin lock, and a 15-bit integral packed into sizeof(void*). Typical application is for microsharding of many elements within containers. Because there is no me…
folly/AtomicHashmap.h folly/AtomicHashmap.h introduces a synchronized UnorderedAssociativeContainer implementation designed for extreme performance in heavily multithreaded environments (about 2-5x faster than tbb::concurrent_hash_map) and good memor…
原文地址:  https://www.cnblogs.com/Leo_wl/archive/2012/06/27/2566346.html   阅读目录 学习代码库的一般步骤 folly库的学习心得 总结 回到目录   学习代码库的一般步骤 1) 编译安装:2) 学习doc/manual文档:3) 学习test用例:4) 测试并使用. 回到目录 folly库的学习心得 独立有用的小技巧 Eventfd.h ---- 针对eventfd系统调用的包装器. Foreach.h ---- 伪语句(作为…
folly/ For a high level overview see the README Components Below is a list of (some) Folly components in alphabetical order, along with a brief description of each. Arena.h, ThreadCachedArena.h Simple arena for memory allocation: multiple allocations…