summaryrefslogtreecommitdiffstats
path: root/qemu-coroutine-sleep.c
Commit message (Collapse)AuthorAgeFilesLines
* block: allow interrupting a co_sleep_nsPaolo Bonzini2012-04-191-1/+2
| | | | | | | | In the next patch we want to reenter the coroutine from block_job_cancel_sync and cancel the timer. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
* coroutine: add co_sleep_ns() coroutine sleep functionStefan Hajnoczi2012-01-261-0/+38
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
OpenPOWER on IntegriCloud