sdl2-2.4.1.0: Both high- and low-level bindings to the SDL library (version 2.0.4+).

Safe HaskellSafe
LanguageHaskell2010

SDL.Raw.Thread

Contents

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 #