Nix 2.93.3
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>

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.