Contents

sbooth/cxxdispatchsemaphore

A [`dispatch_semaphore_t`](https://developer.apple.com/documentation/dispatch/dispatch-semaphore?language=objc) wrapper with a [`std::counting_sempahore`](https://en.cppreference.com/w/cpp/thread/counting_semaphore.html) compatible interface.

Installation

Swift Package Manager

Add a package dependency to https://github.com/sbooth/CXXDispatchSemaphore in Xcode.

Manual or Custom Build

  1. Clone the CXXDispatchSemaphore repository.
  2. swift build.

License

Released under the MIT License.

Package Metadata

Repository: sbooth/cxxdispatchsemaphore

Default branch: main

README: README.md