dap-0.3.0.0: A debug adaptor protocol library
Copyright(C) 2023 David M. Johnson
LicenseBSD3-style (see the file LICENSE)
Stabilityexperimental
Portabilitynon-portable
Safe HaskellSafe-Inferred
LanguageHaskell2010

DAP.Internal

Description

 
Synopsis

Documentation

withLock :: MVar () -> IO () -> IO () Source #

Used for performing actions (e.g. printing debug logs to stdout) Also used for writing to each connections Handle. Ensures operations occur one thread at a time.

Used internally only