From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46272) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPt8P-0005oI-Cw for qemu-devel@nongnu.org; Tue, 18 Mar 2014 08:28:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WPt8K-0003L3-Hd for qemu-devel@nongnu.org; Tue, 18 Mar 2014 08:28:45 -0400 Received: from mx1.redhat.com ([209.132.183.28]:6245) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WPt8K-0003Ky-42 for qemu-devel@nongnu.org; Tue, 18 Mar 2014 08:28:40 -0400 From: Juan Quintela In-Reply-To: (Le Tan's message of "Tue, 18 Mar 2014 07:56:16 +0800") References: Date: Tue, 18 Mar 2014 13:28:35 +0100 Message-ID: <877g7rr8r0.fsf@elfo.mitica> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] How to understand the coroutine context? Reply-To: quintela@redhat.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Le Tan Cc: qemu-devel@nongnu.org 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! google, 1st hit, wikipedia: https://en.wikipedia.org/wiki/Coroutine A bit short resume: Getting "user"-threads when you don't have threads. Later, Juan.