commit | 1ace7ceac507d90d50ecb2e13f7222beadb64d92 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Mon Feb 13 19:12:43 2017 +0100 |
committer | Stefan Hajnoczi <stefanha@redhat.com> | Tue Feb 21 11:39:40 2017 +0000 |
tree | 0a457dc7da86284d408e13ceefc764b914b90b41 | |
parent | f8c6e1cbc3d397207bedabdb2932fd6e1d7484df [diff] |
coroutine-lock: add mutex argument to CoQueue APIs All that CoQueue needs in order to become thread-safe is help from an external mutex. Add this to the API. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Fam Zheng <famz@redhat.com> Message-id: 20170213181244.16297-6-pbonzini@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>