Hoogle Search
Within LTS Haskell 24.68 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
pattern
GL_STREAM_READ :: GLenumOpenGLRaw Graphics.GL.Version21 No documentation available.
glReadBuffer :: MonadIO m => GLenum -> m ()OpenGLRaw Graphics.GL.Version21 Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.
-
OpenGLRaw Graphics.GL.Version21 Manual pages for OpenGL 2.x or OpenGL 3.x or OpenGL 4.x.
RWLock'acquireRead :: RWLockExceptionKindSafeSemaphore Control.Concurrent.FairRWLock No documentation available.
RWLock'releaseRead :: RWLockExceptionKindSafeSemaphore Control.Concurrent.FairRWLock No documentation available.
acquireRead :: RWLock -> IO ()SafeSemaphore Control.Concurrent.FairRWLock Any thread may call acquireRead (even ones holding write locks). This read lock may be acquired multiple times, requiring an identical number of releaseRead calls. All previous calls to acquireWrite by other threads will have succeeded and been released (or interrupted) before this acquireRead will return. The best way to use acquireRead is to use withRead instead to ensure releaseRead will be called exactly once. This may block and be safely interrupted. If interrupted then the RWLock will be left unchanged.
releaseRead :: RWLock -> IO (Either RWLockException ())SafeSemaphore Control.Concurrent.FairRWLock A thread that calls acquireRead must later call releaseRead once for each call to acquireRead. If this thread has not previous called acquireRead then releaseRead will do nothing and return a (Left error). This can block but cannot be interrupted.
withRead :: RWLock -> IO a -> IO aSafeSemaphore Control.Concurrent.FairRWLock This is by far the preferred way to acquire a read lock. This uses bracket_ to ensure acquireRead and releaseRead are called correctly around the passed command. This ought to ensure releaseRead will not return a (Left error), but if it does then this error will be thrown. This can block and be safely interrupted.
-
This module exposes an interface with thread-safe writes and flips. Additionally, concurrently modifying non-intersecting slices of the same underlying array works as expected. However, operations that affect multiple elements are not guaranteed to be atomic. Consider using Data.Bit, which is faster (usually 10-20%, up to 50% for short vectors), but not thread-safe.
NameAlreadyOwner :: RequestNameReplydbus DBus.Client This client is already the primary owner of the requested name.