Hoogle Search

Within LTS Haskell 24.58 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. readTBQueue :: MonadSTM stm => TBQueue stm a -> stm a

    concurrency Control.Concurrent.Classy.STM.TBQueue

    Read the next value from the TBQueue.

  2. readTChan :: MonadSTM stm => TChan stm a -> stm a

    concurrency Control.Concurrent.Classy.STM.TChan

    Read the next value from the TChan.

  3. readTMVar :: MonadSTM stm => TMVar stm a -> stm a

    concurrency Control.Concurrent.Classy.STM.TMVar

    Read from a TMVar without emptying, or retry if it is empty.

  4. readTQueue :: MonadSTM stm => TQueue stm a -> stm a

    concurrency Control.Concurrent.Classy.STM.TQueue

    Read the next value from the TQueue.

  5. readTVar :: MonadSTM stm => TVar stm a -> stm a

    concurrency Control.Concurrent.Classy.STM.TVar

    Return the current value stored in a TVar.

  6. readTVarConc :: MonadConc m => TVar (STM m) a -> m a

    concurrency Control.Concurrent.Classy.STM.TVar

    Read the current value stored in a TVar. This may be implemented differently for speed.

    readTVarConc = atomically . readTVar
    

  7. readForCAS :: MonadConc m => IORef m a -> m (Ticket m a)

    concurrency Control.Monad.Conc.Class

    Read the current value stored in a reference, returning a Ticket, for use in future compare-and-swap operations.

  8. readIORef :: MonadConc m => IORef m a -> m a

    concurrency Control.Monad.Conc.Class

    Read the current value stored in a reference.

    readIORef ioref = readForCAS ioref >>= peekTicket
    

  9. readMVar :: MonadConc m => MVar m a -> m a

    concurrency Control.Monad.Conc.Class

    Block until a value is present in the MVar, and then return it. This does not "remove" the value, multiple reads are possible.

  10. readTVarConc :: MonadConc m => TVar (STM m) a -> m a

    concurrency Control.Monad.Conc.Class

    Read the current value stored in a TVar. This may be implemented differently for speed.

    readTVarConc = atomically . readTVar
    

Page 249 of many | Previous | Next