Hoogle Search
Within LTS Haskell 24.40 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
smap :: (Structured r1 a b, Shape sh) => (a -> b) -> Array r1 sh a -> Array (TR r1) sh brepa Data.Array.Repa.Operators.Mapping Structured map.
-
Cross-platform abstraction for system semaphores This package provides a cross-platform implementation of system semaphores that abstracts over the unix and Win32 libraries.
-
No documentation available.
-
semaphore-compat System.Semaphore A system semaphore (POSIX or Win32).
Semaphore :: SemaphoreName -> Semaphore -> Semaphoresemaphore-compat System.Semaphore No documentation available.
-
semaphore-compat System.Semaphore No documentation available.
SemaphoreName :: String -> SemaphoreNamesemaphore-compat System.Semaphore No documentation available.
createSemaphore :: SemaphoreName -> Int -> IO Semaphoresemaphore-compat System.Semaphore Create a new semaphore with the given name and initial amount of available resources. Throws an error if a semaphore by this name already exists.
destroySemaphore :: Semaphore -> IO ()semaphore-compat System.Semaphore Destroy the given semaphore.
forkWaitOnSemaphoreInterruptible :: Semaphore -> (Either SomeException Bool -> IO ()) -> IO WaitIdsemaphore-compat System.Semaphore Spawn a thread that waits on the given semaphore. In this thread, asynchronous exceptions will be masked. The waiting operation can be interrupted using the interruptWaitOnSemaphore function. This implements a similar pattern to the forkFinally function.