coroutine-lock: place CoMutex before CoQueue in header
commitf8c6e1cbc3d397207bedabdb2932fd6e1d7484df
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 13 Feb 2017 18:12:42 +0000 (13 19:12 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 21 Feb 2017 11:39:40 +0000 (21 11:39 +0000)
tree091db0cd0e99e3ac94497fd79d4d8ba8927dfe8a
parentc05df34a874706946a918d320e602bb498550838
coroutine-lock: place CoMutex before CoQueue in header

This will avoid forward references in the next patch.  It is also
more logical because CoQueue is not anymore the basic primitive.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Message-id: 20170213181244.16297-5-pbonzini@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
include/qemu/coroutine.h