Package2.0.1System
semaphore-compat
Cross-platform abstraction for system semaphores
- Version2.0.1
- CategorySystem
- LicenceBSD-3-Clause
- AuthorThe GHC team
- Maintainerghc-devs@haskell.org
- Homepagegitlab.haskell.org/ghc/semaphore-compat
- Pinned bywith GHC
- Sourcehackage.haskell.org/package/semaphore-compat-2.0.1
Modules
6 modules- System.Semaphore25This library provides a cross-platform implementation of semaphores. Its main role is to provide a cross-platform notion of semaphore tha…
Internal modules · 5
- System.Semaphore.Internal14Platform-independent internal API.
- System.Semaphore.Internal.DomainSocket7FFI glue code for Unix domain sockets.
- System.Semaphore.Internal.Posix12POSIX backend: semaphores implemented on top of Unix domain sockets.
- System.Semaphore.Internal.Posix.Server6The Unix domain socket server backing the POSIX semaphore implementation. The server manages a shared token pool and accepts multiple client
- System.Semaphore.Internal.Version9Semaphore protocol version and versioned semaphore identifiers.
Description
Cross-platform semaphores for managing resources across processes, abstracting over Win32 named semaphores on Windows and Unix domain sockets on POSIX.
Depends on
6 packages- base-4.23.0.0with GHC
- containers-0.8with GHC
- directory-1.3.11.0with GHC
- filepath-1.5.5.0with GHC
- stm-2.5.3.1with GHC
- unix-2.8.8.0with GHC