[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ethreads: event-driven cooperative threads
From: |
Andy Wingo |
Subject: |
Re: ethreads: event-driven cooperative threads |
Date: |
Fri, 23 Mar 2012 10:25:33 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) |
On Fri 23 Mar 2012 03:00, Nala Ginrut <address@hidden> 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 loop to resume
it when the fd becomes readable/writable, and continue scheduling other
threads.
Andy
--
http://wingolog.org/