qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Posix timer syscalls [Bug 1042388]


From: Erik de Castro Lopo
Subject: Re: [Qemu-devel] Posix timer syscalls [Bug 1042388]
Date: Wed, 29 Aug 2012 20:03:01 +1000

Peter Maydell wrote:

> You need to look at how the kernel decides which of the
> fields of the union is valid, and use the same logic to
> decide how to convert it in qemu.
> 
> In this case I think that means that if
> (sigev_notify & SIGEV_THREAD_ID) != 0, _tid is valid and
> must be converted. Otherwise convert _sigev_thread.

Ah, that makes sense. Thanks.

Cheers,
Erik
-- 
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]