Nix  2.93.0-dev
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
Loading...
Searching...
No Matches
async-semaphore.hh File Reference

A semaphore implementation usable from within a KJ event loop. More...

#include <cassert>
#include <kj/async.h>
#include <kj/common.h>
#include <kj/exception.h>
#include <kj/list.h>
#include <kj/source-location.h>
#include <memory>
#include <optional>
Include dependency graph for async-semaphore.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  nix::AsyncSemaphore
 
class  nix::AsyncSemaphore::Token
 

Detailed Description

A semaphore implementation usable from within a KJ event loop.