Re: [Haskell-cafe] Fwd: Will GHC finally support epoll in 2009?

2009-12-11 Thread Gregory Collins
Johann Höchtl writes: > I might be wrong, but it's EPoll.hsc where you define the call to the Linux > kernel function. This would be unneccessary, when poll (and kqueue and Windows > equivalents) are already in the core. Ok, a bit more than EPoll.hsc would be > unneccessary ;) Not sure what you

Re: [Haskell-cafe] Fwd: Will GHC finally support epoll in 2009?

2009-12-11 Thread Johann Höchtl
Gregory Collins wrote: Johann Höchtl writes: I think the overall goal should be to get rid of http://github.com/gregorycollins/event/blob/master/src/System/Event/EPoll.hsc, as it's in the core. I don't follow, could you explain? I might be wrong, but it's EPoll.hsc where you def

Re: [Haskell-cafe] Fwd: Will GHC finally support epoll in 2009?

2009-12-11 Thread Gregory Collins
Johann Höchtl writes: > I think the overall goal should be to get rid of > http://github.com/gregorycollins/event/blob/master/src/System/Event/EPoll.hsc, > as it's in the core. I don't follow, could you explain? > Any non-blocking call to select should be save to replace by epoll, as the > sem

Re: [Haskell-cafe] Fwd: Will GHC finally support epoll in 2009?

2009-12-11 Thread Johann Höchtl
Gregory Collins wrote: "Bryan O'Sullivan" writes: If I develop the time and energy to take a serious crack at it, I will post here to let people know. This would be an effort where having multiple people work on different implementations concurrently would be a shame. I'm interested

Re: [Haskell-cafe] Fwd: Will GHC finally support epoll in 2009?

2009-12-11 Thread Gregory Collins
"Bryan O'Sullivan" writes: > If I develop the time and energy to take a serious crack at it, I will > post here to let people know. This would be an effort where having > multiple people work on different implementations concurrently would > be a shame. I'm interested in this topic as well and h

Re: [Haskell-cafe] Fwd: Will GHC finally support epoll in 2009?

2009-12-10 Thread Johann Höchtl
Bryan O'Sullivan wrote: On Thu, Dec 10, 2009 at 5:01 AM, Johann Höchtl mailto:johann.hoec...@gmail.com>> wrote: > Yes. I'm working on a patch at the moment. Is there something planed to happen in 2010? Retooling the I/O manager isn't a huge job, but it requires the equivalent of se

Re: [Haskell-cafe] Fwd: Will GHC finally support epoll in 2009?

2009-12-10 Thread Bryan O'Sullivan
On Thu, Dec 10, 2009 at 5:01 AM, Johann Höchtl wrote: > > > Yes. I'm working on a patch at the moment. > > Is there something planed to happen in 2010? > Retooling the I/O manager isn't a huge job, but it requires the equivalent of several weeks of work. I tossed out my initial attempt at a patch

[Haskell-cafe] Fwd: Will GHC finally support epoll in 2009?

2009-12-10 Thread Johann Höchtl
-- Forwarded message -- From: "Bryan O'Sullivan" Date: Jan 2, 5:32 am Subject: Will GHC finally support epoll in 2009? To: Haskell-cafe On Wed, Dec 31, 2008 at 11:42 AM, Levi Greenspan wrote: >> Hence my question - is it likely that GHC will supportepollin 2009? > Yes. I'm