Re: Re: [Qemu-devel] using pthread in qemu

2007-10-03 Thread Clemens Kolbitsch
On Wednesday 03 October 2007 16:16:55 [EMAIL PROTECTED] wrote:
> Hi,
>
> On 03/10/2007, Clemens Kolbitsch <[EMAIL PROTECTED]> 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

yes.. that might have been helpful if I hadn't solved the problem differently 
(and I'm quite happy to have gotten rid of the pthread code ;-)  )

Thanks for the answer, though!!




Re: [Qemu-devel] using pthread in qemu

2007-10-03 Thread andrzej zaborowski
Hi,

On 03/10/2007, Clemens Kolbitsch <[EMAIL PROTECTED]> 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




[Qemu-devel] using pthread in qemu

2007-10-03 Thread Clemens Kolbitsch
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