* [Qemu-devel] using pthread in qemu
[not found] <20071002175756.24785gmx1@mx005.gmx.net>
@ 2007-10-03 11:04 ` Clemens Kolbitsch
2007-10-03 11:36 ` andrzej zaborowski
2007-10-03 13:10 ` [Qemu-devel] " Clemens Kolbitsch
0 siblings, 2 replies; 3+ messages in thread
From: Clemens Kolbitsch @ 2007-10-03 11:04 UTC (permalink / raw)
To: qemu-devel
hi!
i know... i have been told not to use them, but i just HAVE TO for the
moment :-(
i need to run a second thread inside my hardware module which is not a problem
as long as i don't use the qcow2 image format. when i switch to qcow2, qemu's
main thread hangs because the second thread is waiting for a semaphore...
does anyone know how to tell the second pthread not to block the primary
thread??
as always --- any help is greatly appreciated!!
Clemens
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] using pthread in qemu
2007-10-03 11:04 ` [Qemu-devel] using pthread in qemu Clemens Kolbitsch
@ 2007-10-03 11:36 ` andrzej zaborowski
2007-10-03 13:10 ` [Qemu-devel] " Clemens Kolbitsch
1 sibling, 0 replies; 3+ messages in thread
From: andrzej zaborowski @ 2007-10-03 11:36 UTC (permalink / raw)
To: qemu-devel
Hi,
On 03/10/2007, Clemens Kolbitsch <clemens.kol@gmx.at> wrote:
> hi!
> i know... i have been told not to use them, but i just HAVE TO for the
> moment :-(
>
> i need to run a second thread inside my hardware module which is not a problem
> as long as i don't use the qcow2 image format. when i switch to qcow2, qemu's
> main thread hangs because the second thread is waiting for a semaphore...
>
> does anyone know how to tell the second pthread not to block the primary
> thread??
Maybe this thread can be helpful:
http://lists.gnu.org/archive/html/qemu-devel/2007-04/msg00090.html
Regards,
Andrew
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Qemu-devel] Re: using pthread in qemu
2007-10-03 11:04 ` [Qemu-devel] using pthread in qemu Clemens Kolbitsch
2007-10-03 11:36 ` andrzej zaborowski
@ 2007-10-03 13:10 ` Clemens Kolbitsch
1 sibling, 0 replies; 3+ messages in thread
From: Clemens Kolbitsch @ 2007-10-03 13:10 UTC (permalink / raw)
To: qemu-devel
On Wednesday 03 October 2007 13:04:33 you wrote:
> hi!
> i know... i have been told not to use them, but i just HAVE TO for the
> moment :-(
>
> i need to run a second thread inside my hardware module which is not a
> problem as long as i don't use the qcow2 image format. when i switch to
> qcow2, qemu's main thread hangs because the second thread is waiting for a
> semaphore...
>
> does anyone know how to tell the second pthread not to block the primary
> thread??
>
> as always --- any help is greatly appreciated!!
> Clemens
ok... i solved my problem using the qemu_timers
works just fine ;-)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-10-03 13:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20071002175756.24785gmx1@mx005.gmx.net>
2007-10-03 11:04 ` [Qemu-devel] using pthread in qemu Clemens Kolbitsch
2007-10-03 11:36 ` andrzej zaborowski
2007-10-03 13:10 ` [Qemu-devel] " Clemens Kolbitsch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).