lix/tests/unit/libutil
eldritch horrors ca9256a789 libutil: add an async semaphore implementation
like a normal semaphore, but with awaitable acquire actions. this is
primarily intended as an intermediate concurrency limiting device in
the Worker code, but it may find other uses over time. we do not use
std::counting_semaphore as a base because the counter of that is not
inspectable as will be needed for Worker. we also do not need atomic
operations for cross-thread consistency since we don't have multiple
threads (thanks to kj event loops being confined to a single thread)

Change-Id: Ie2bcb107f3a2c0185138330f7cbba4cec6cbdd95
2024-09-26 16:32:02 +00:00
..
data Test including relative paths in configuration 2024-09-01 15:52:48 -07:00
async-semaphore.cc libutil: add an async semaphore implementation 2024-09-26 16:32:02 +00:00
canon-path.cc Move tests to separate directories, and document 2023-12-01 13:05:03 -05:00
checked-arithmetic.cc libutil: add checked arithmetic tools 2024-07-13 00:56:37 +02:00
chunked-vector.cc Add pre-commit checks 2024-03-29 22:57:40 -07:00
closure.cc tree-wide: fix a pile of lints 2024-08-08 14:53:17 -07:00
compression.cc util: fix brotli decompression of empty input 2024-09-18 15:37:29 -07:00
config.cc Test including relative paths in configuration 2024-09-01 15:52:48 -07:00
escape-string.cc Add EscapeStringOptions and escapeString tests 2024-04-03 16:25:54 +00:00
fmt.cc abort with a descriptive message on bad HintFmt usage 2024-04-15 23:09:16 +00:00
generator.cc tree-wide: fix a pile of lints 2024-08-08 14:53:17 -07:00
git.cc Add pre-commit checks 2024-03-29 22:57:40 -07:00
hash.cc refactor: make HashType and Base enum classes for type safety 2024-08-08 14:53:17 -07:00
hilite.cc Move tests to separate directories, and document 2023-12-01 13:05:03 -05:00
json-utils.cc fix: nlohmann::adl_serializer for std::optional (#9147) 2024-03-04 07:11:25 +01:00
logging.cc util.hh: Delete remaining file and clean up headers 2024-05-29 12:38:51 +02:00
lru-cache.cc Move tests to separate directories, and document 2023-12-01 13:05:03 -05:00
paths-setting.cc Support relative and ~/ paths in config settings 2024-08-25 15:54:22 -07:00
pool.cc Revert "libutil: drop Pool resources on exceptional free" 2024-04-05 20:13:02 +00:00
references.cc tree-wide: shuffle headers around for about 30s compile time 2024-08-28 09:55:05 -07:00
serialise.cc libutil: allow construction of sources from generators 2024-07-05 22:28:16 +00:00
shlex.cc Move shell_words into its own file 2024-03-26 16:44:04 -07:00
suggestions.cc Move tests to separate directories, and document 2023-12-01 13:05:03 -05:00
tests.cc tree-wide: fix a pile of lints 2024-08-08 14:53:17 -07:00
url-name.cc getNameFromURL(): Support uppercase characters in attribute names 2024-05-02 12:02:28 -06:00
url.cc treewide: fix a bunch of lints 2024-08-26 16:13:03 -07:00
xml-writer.cc Move tests to separate directories, and document 2023-12-01 13:05:03 -05:00