Skip to content

Commit

Permalink
add dep on lock-holder types to SharedMutex
Browse files Browse the repository at this point in the history
Summary: So that callers are not required to add that dep to use `folly::upgrade_lock`. This is in addition to `SharedMutex` already re-exporting the unique and shared lock-holder types.

Reviewed By: dmm-fb

Differential Revision: D51440466

fbshipit-source-id: 66b98ec6c9cf8bcfdcad7528ad9c79082a2df2f4
  • Loading branch information
yfeldblum authored and facebook-github-bot committed Nov 19, 2023
1 parent b7af40f commit 3a0cd44
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions folly/SharedMutex.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
#include <folly/concurrency/CacheLocality.h>
#include <folly/detail/Futex.h>
#include <folly/portability/Asm.h>
#include <folly/synchronization/Lock.h>
#include <folly/synchronization/RelaxedAtomic.h>
#include <folly/synchronization/SanitizeThread.h>
#include <folly/system/ThreadId.h>
Expand Down

0 comments on commit 3a0cd44

Please sign in to comment.