From dc2fc9f2cd69422c720daaa531d1bdb9a6bde0e5 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 31 Jan 2021 19:50:38 +0100 Subject: Define a library for Go-style wait groups Define a data structure and methods to represent a Go-style wait group, similar to `sync.WaitGroup` (except single-threaded). Implements a similar interface. Calling `wait` blocks until the wait group's internal counter gets to 0. --- wait-group.asd | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 wait-group.asd (limited to 'wait-group.asd') diff --git a/wait-group.asd b/wait-group.asd new file mode 100644 index 0000000..ac7e280 --- /dev/null +++ b/wait-group.asd @@ -0,0 +1,6 @@ +(asdf:defsystem wait-group + :version "0.0.1" + :components ((:module "src" + :serial t + :components ((:file "package") + (:file "wait-group"))))) -- cgit v1.2.3