:: Ord a => [a] -> [a] -package:singletons -package:extra -package:containers -package:safe package:lifted-base -is:exact

Generalized version of runInBoundThread.
Generalized version of runInUnboundThread.
Generalized version of mask_.
Generalized version of uninterruptibleMask_.