diff options
author | Jan Kiszka | 2011-12-12 17:21:32 +0100 |
---|---|---|
committer | Anthony Liguori | 2011-12-13 00:06:22 +0100 |
commit | 8763046b4b27f59ce0b639dbca896a01bf7b1388 (patch) | |
tree | 63882f1f7f066daa2cfa0adba488f9ad5ebc82af /hw/multiboot.c | |
parent | qemu-thread: add API for joinable threads (diff) | |
download | qemu-8763046b4b27f59ce0b639dbca896a01bf7b1388.tar.gz qemu-8763046b4b27f59ce0b639dbca896a01bf7b1388.tar.xz qemu-8763046b4b27f59ce0b639dbca896a01bf7b1388.zip |
qemu-thread: implement joinable threads for POSIX
Allow to control if a QEMU thread is created joinable or not. Make it
not joinable by default to avoid that we keep the associated resources
around when terminating a thread without joining it (what we couldn't do
so far for obvious reasons).
The audio subsystem will need the join feature when converting it to
QEMU threading/locking abstractions, so provide that service.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/multiboot.c')
0 files changed, 0 insertions, 0 deletions