[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] About coroutine inside qemu
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] About coroutine inside qemu |
Date: |
Mon, 2 Sep 2013 11:11:40 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Fri, Aug 30, 2013 at 08:59:37PM +0000, Yaodong Yang wrote:
> When a new work thread, which is not inside coroutine, enter a
> coroutine(named as A), what happened to the work thread? Is it true
> that the work thread also become a coroutine, or it just stop? Later
> if the coroutine A call yield. what happened to the work thread?
qemu_coroutine_enter() returns when the coroutine yields or terminates.
Therefore the thread gives its control to the coroutine until it yields
or terminates.
Stefan
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] About coroutine inside qemu,
Stefan Hajnoczi <=