proxygen
folly::coro::Mutex::ScopedLockOperation Class Reference
Inheritance diagram for folly::coro::Mutex::ScopedLockOperation:
folly::coro::Mutex::LockOperation

Public Member Functions

std::unique_lock< Mutexawait_resume () noexcept
 
- Public Member Functions inherited from folly::coro::Mutex::LockOperation
bool await_ready () noexcept
 
bool await_suspend (std::experimental::coroutine_handle<> awaitingCoroutine) noexcept
 
void await_resume () noexcept
 

Friends

class Mutex
 

Additional Inherited Members

- Protected Member Functions inherited from folly::coro::Mutex::LockOperation
 LockOperation (Mutex &mutex) noexcept
 
- Protected Attributes inherited from folly::coro::Mutex::LockOperation
Mutexmutex_
 
std::experimental::coroutine_handle awaitingCoroutine_
 
LockOperationnext_
 

Detailed Description

Definition at line 178 of file Mutex.h.

Member Function Documentation

std::unique_lock<Mutex> folly::coro::Mutex::ScopedLockOperation::await_resume ( )
inlinenoexcept

Definition at line 180 of file Mutex.h.

References folly::coro::Mutex::LockOperation::mutex_.

180  {
181  return std::unique_lock<Mutex>{mutex_, std::adopt_lock};
182  }

Friends And Related Function Documentation

friend class Mutex
friend

Definition at line 185 of file Mutex.h.


The documentation for this class was generated from the following file: