uni-events-2.2.2.0: Event handling for the uniform workbench

Safe HaskellSafe-Inferred
LanguageHaskell98

Events.Synchronized

Documentation

class Synchronized a where Source

Methods

synchronize :: a -> IO b -> IO b Source

acquire lock on a, and while we've got it do this action.