somewhat modernized version of "Thread-safe programming";
theory Baseimports Mainuses "../../antiquote_setup.ML"begin(* FIXME move to src/Pure/ML/ml_antiquote.ML *)ML {* ML_Antiquote.inline "assert" (Scan.succeed "(fn b => if b then () else raise General.Fail \"Assertion failed\")")*}end