From: Leandro Dorileo <l@dorileo.org>
To: Le Tan <tamlokveer@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] How to understand the coroutine context?
Date: Tue, 18 Mar 2014 13:57:17 +0000 [thread overview]
Message-ID: <20140318135717.GA24502@dorilex> (raw)
In-Reply-To: <CACrq+iLGpizO2NH2cf_sschkwZJE3xpeHF-QftrWF=c_4skNig@mail.gmail.com>
Hi,
On Tue, Mar 18, 2014 at 07:56:16AM +0800, Le Tan wrote:
> Hi, I am diving into the source code of qemu. I see the word
> "coroutine" appears in so many places. I can't figure out what it
> means. So, please, can anyone help me, telling me the mechanism or
> semantic of "coroutine"? Thanks!
If you want to understand the coroutine technique itself take a look
at this page[1], the're two references that may be helpfull.
A friend of mine has described[2] his view on implementing coroutine,
this may be helpfull as well.
[1] - http://www.chiark.greenend.org.uk/~sgtatham/coroutines.html
[2] - http://tia.mat.br/blog/html/2012/09/29/asynchronous_i_o_in_c_with_coroutines.html
Regards...
--
Leandro Dorileo
prev parent reply other threads:[~2014-03-18 13:58 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-17 23:56 [Qemu-devel] How to understand the coroutine context? Le Tan
2014-03-18 4:04 ` Kashyap Chamarthy
2014-03-18 5:45 ` Le Tan
2014-03-18 22:28 ` Thomas Huth
2014-03-19 10:05 ` Stefan Hajnoczi
2014-03-19 10:13 ` Thomas Huth
2014-03-19 11:15 ` Stefan Hajnoczi
2014-03-18 12:28 ` Juan Quintela
2014-03-18 12:54 ` Markus Armbruster
2014-03-18 13:13 ` Juan Quintela
2014-03-18 13:48 ` Markus Armbruster
2014-03-18 13:57 ` Leandro Dorileo [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140318135717.GA24502@dorilex \
--to=l@dorileo.org \
--cc=qemu-devel@nongnu.org \
--cc=tamlokveer@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.