sdl2-2.5.5.0: Both high- and low-level bindings to the SDL library (version 2.0.6+).
Safe HaskellSafe-Inferred
LanguageHaskell2010

SDL.Raw.Thread

Synopsis

Thread Management

tlsGet :: MonadIO m => TLSID -> m (Ptr ()) Source #

tlsSet :: MonadIO m => TLSID -> Ptr () -> FunPtr (Ptr () -> IO ()) -> m CInt Source #

Thread Synchronization Primitives

Atomic Operations

atomicCASPtr :: MonadIO m => Ptr (Ptr ()) -> Ptr () -> Ptr () -> m Bool Source #

atomicGetPtr :: MonadIO m => Ptr (Ptr ()) -> m (Ptr ()) Source #

atomicSetPtr :: MonadIO m => Ptr (Ptr ()) -> Ptr () -> m (Ptr ()) Source #