Re: ethreads: event-driven cooperative threads

2013-01-17 Thread Andy Wingo
Hi! Catching up on old things... On Mon 02 Apr 2012 17:25, l...@gnu.org (Ludovic Courtès) writes: > Andy Wingo skribis: > >> I pushed an experimental branch recently, wip-ethreads. It implements >> user-space cooperative threads that yield when they would otherwise >> block or sleep. It seems

Re: ethreads: event-driven cooperative threads

2012-04-02 Thread Ludovic Courtès
Hello! Thanks for your work in this area! Andy Wingo skribis: > I pushed an experimental branch recently, wip-ethreads. It implements > user-space cooperative threads that yield when they would otherwise > block or sleep. It seems to be useful for servers. Interestingly, user-level threads +

Re: ethreads: event-driven cooperative threads

2012-03-23 Thread Andy Wingo
On Fri 23 Mar 2012 03:00, Nala Ginrut writes: > Cool~but I think it didn't support Non-Block IO, right? It does support non-blocking I/O, yes. fdes->eport sets O_NONBLOCK on the fd. Any time an operation would block causes the operation to suspend the current continuation, and ask the epoll lo

Re: ethreads: event-driven cooperative threads

2012-03-22 Thread Nala Ginrut
Cool~but I think it didn't support Non-Block IO, right? On Fri, Mar 23, 2012 at 12:13 AM, Andy Wingo wrote: > Hi list, > > I pushed an experimental branch recently, wip-ethreads. It implements > user-space cooperative threads that yield when they would otherwise > block or sleep. It seems to b

ethreads: event-driven cooperative threads

2012-03-22 Thread Andy Wingo
Hi list, I pushed an experimental branch recently, wip-ethreads. It implements user-space cooperative threads that yield when they would otherwise block or sleep. It seems to be useful for servers. That branch also implements an HTTP server based on ethreads. It's quite pleasant. There's an e