On Fri, 2014-11-14 at 16:30 -0500, Brandon Allbery wrote: > On Fri, Nov 14, 2014 at 4:23 PM, Yuras Shumovich <shumovi...@gmail.com> > wrote: > > > Here mask is used, but I looks completely useless for me. waitQSem > > itself should be called with async exceptions masked, otherwise there is > > no way to prevent resource leak. > > > > Do anyone know why mask is used here? > > > > I thought QSem was known to be completely unsafe and > http://hackage.haskell.org/package/SafeSemaphore was recommended instead, > with QSem and friends slated for removal? > > In any case, there are probably leftover attempts to make it safe, yes. >
Oh, that explains it. Thank you a lot. Yuras _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs