libcoro  1.0
Coroutine support library for C++20
Public Member Functions | List of all members
coro::mutex::ownership Class Reference

tracks ownership More...

#include <mutex.h>

+ Collaboration diagram for coro::mutex::ownership:

Public Member Functions

 ownership ()=default
 ownership can be default constructed More...
 
 ownership (ownership &&x)
 ownership can be moved More...
 
ownershipoperator= (ownership &&x)
 ownership can be assigned by move More...
 
 ~ownership ()
 dtor releases ownership More...
 
void release ()
 releases ownership explicitly (unlock) More...
 
 operator bool () const
 test whether ownership is held More...
 

Detailed Description

tracks ownership

Definition at line 34 of file mutex.h.


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