Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
nix::Sync< T, AsyncMutex > Class Template Reference
Inheritance diagram for nix::Sync< T, AsyncMutex >:
nix::Sync< T, std::mutex >

Classes

class  Lock

Public Member Functions

 Sync (T &&data)
void notify ()
auto lockSync (NeverAsync={})
kj::Promise< Locklock ()
std::optional< LocktryLock ()

Member Function Documentation

◆ notify()

template<class T>
void nix::Sync< T, AsyncMutex >::notify ( )
inline

Notify all promises awaiting Lock::wait. There is no notify_one like std::condition_variable provides owing to implementation complexities.


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