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/