~smspillaz/folly/folly-git-master

  • Committer: Facebook Github Bot
  • Author(s): Doron Roberts-Kedes
  • Date: 2018-07-18 17:38:05 UTC
  • Revision ID: git-v1:566f0478280068a095fab12459f357808e123d2e
DeterministicSchedule: Deschedule threads waiting to acquire DeterministicMutex

Summary: Eliminate spinlock behavior from DeterministicMutex::lock by descheduling threads waiting to acquire the mutex, and placing the thread local semaphore in a waitqueue for the mutex. The unlocking thread reschedules a single waiting thread if the workqueue is non empty.

Reviewed By: djwatson

Differential Revision: D8789304

fbshipit-source-id: 8ffe3e289c9abfe7515b678ff98f0cefef2461c0
Filename Latest Rev Last Changed Committer Comment Size
..
build 4842 6 years ago Adam Simpkins Include fbcode_builder sources in the folly github Diff
CMake 3741 7 years ago Facebook Github Bot Add CMake build system Summary: This is for use o Diff
folly 2 11 years ago Jordan DeLong Pull from FB rev 63ce89e2f2301e6bba44a111cc7d42180 Diff
.gitignore 5288 6 years ago Facebook Github Bot move folly/experimental/logging to folly/logging/ 556 bytes Diff Download File
.travis.yml 4905 6 years ago Facebook Github Bot Enable IPv6 loopback for tests Summary: Unit test 2.1 KB Diff Download File
File CMakeLists.txt 5637 5 years ago Facebook Github Bot folly: iterator classes (1/3): add minimal facade/ 28.6 KB Diff Download File
CODE_OF_CONDUCT.md 4893 6 years ago Facebook Github Bot Add `CONTRIBUTING` and `CODE_OF_CONDUCT` Summary: 249 bytes Diff Download File
CONTRIBUTING.md 4893 6 years ago Facebook Github Bot Add `CONTRIBUTING` and `CODE_OF_CONDUCT` Summary: 1.2 KB Diff Download File
LICENSE 7 11 years ago Jordan DeLong Move LICENCE and README to top level directory Su 9.9 KB Diff Download File
README.md 5451 5 years ago Facebook Github Bot Folly is a C++14 library Summary: There are quite 7 KB Diff Download File