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

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