summaryrefslogtreecommitdiffstats
path: root/tokio/src/sync/rwlock.rs
diff options
context:
space:
mode:
authorCarl Lerche <me@carllerche.com>2020-01-03 10:34:15 -0800
committerGitHub <noreply@github.com>2020-01-03 10:34:15 -0800
commitefcbf9613f2d5048550f9c828e3be422644f1391 (patch)
treef8c77a9d21c57f80ed989d16839acffe850baf77 /tokio/src/sync/rwlock.rs
parent3736467dbb74ea6d14091cf1cac3ce08e1fcb911 (diff)
sync: add batch op support to internal semaphore (#2004)
Extend internal semaphore to support batch operations. With this PR, consumers of the semaphore are able to atomically request more than one permit. This is useful for implementing a RwLock.
Diffstat (limited to 'tokio/src/sync/rwlock.rs')
0 files changed, 0 insertions, 0 deletions