Re: [reactive] Re: black hole detection and concurrency

2009-01-04 Thread Lauri Alanko
On Sun, Jan 04, 2009 at 07:40:38PM -0500, Isaac Dupree wrote: > - does anyone use mapException? I was the one who originally requested it, since it was mentioned in the paper and looked reasonable, but was missing from GHC. My motivation was that it could be used by a pure function to hide the exc

Re: [reactive] Re: black hole detection and concurrency

2009-01-04 Thread Isaac Dupree
therefore mapException is equally buggy! mapException :: (Exception e1, Exception e2) => (e1 -> e2) -> a -> a mapException f v = unsafePerformIO (catch (evaluate v) (\x -> throw (f x))) If it maps an asynchronous exception.. and it's re-thrown as sync

Re: pthread mutex error building 6.10 on NetBSD

2009-01-04 Thread Matthias Kilian
Hi, On Thu, Jan 01, 2009 at 11:46:31AM +0100, Matthias Kilian wrote: > > pthread_mutex_unlock() is called, evidently from fileLock(), with an > > invalid mutex. > > > > NetBSD's pthread implementation differs from Linux in its intolerance > > of such things. I have found errors where someone for