Received: from eggs.gnu.org ([2001:4830:134:3::10]:41479) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VaXVN-0002Cy-1M for qemu-devel@nongnu.org; Sun, 27 Oct 2013 17:04:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VaXVF-0008O6-ON for qemu-devel@nongnu.org; Sun, 27 Oct 2013 17:04:12 -0400 Received: from mail6.webfaction.com ([74.55.86.74]:34160 helo=smtp.webfaction.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VaXVF-0008O2-J6 for qemu-devel@nongnu.org; Sun, 27 Oct 2013 17:04:05 -0400 From: Charlie Shepherd Date: Sun, 27 Oct 2013 22:03:50 +0100 Message-Id: <1382907834-21255-1-git-send-email-charlie@ctshepherd.com> Subject: [Qemu-devel] [PATCH v4 0/4] Documentation for coroutine annotations List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, pbonzini@redhat.com, gabriel@kerneis.info, charlie@ctshepherd.com, stefanha@gmail.com These patches were the first two from my GSoC series and were reasonably straight-forward and well accepted. Gabriel and I are hoping the patches from GSoC can be merged before I start my job in December, so I'm starting by sending the simple parts of the overall patchset, when they are merged then I will redo the later parts in several smaller and more manageable patchsets. --- Changes since v3: - Added missing sign-off. - Added patches by Gabriel Kerneis to add blocking_fn annotation and to protect coroutine_fn and blocking_fn with #ifndef. Charlie Shepherd (2): Add an explanation of when a function should be marked coroutine_fn Rename qemu_coroutine_self to qemu_coroutine_self_int and add an annotated wrapper Gabriel Kerneis (2): Introduce blocking_fn annotation Protect coroutine_fn and blocking_fn with #ifndef coroutine-gthread.c | 2 +- coroutine-sigaltstack.c | 2 +- coroutine-ucontext.c | 2 +- coroutine-win32.c | 2 +- include/block/coroutine.h | 35 +++++++++++++++++++++++++++++++++++ include/block/coroutine_int.h | 1 + qemu-coroutine.c | 15 ++++++++++++++- 7 files changed, 54 insertions(+), 5 deletions(-) -- 1.8.4.rc3