:: Ord a => [a] -> [a] -package:singletons -package:integration -package:witherable -package:base -package:statistics -package:mono-traversable -package:imports is:exact package:lifted-base

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