El 26 de març de 2012 0:14, Robert Millan <[email protected]> ha escrit:
> Sorry I got confused. It works on all versions when it is built with
> i386 libc.
I think I know why, but can't fix it right now. timer_t is abused to
store a pointer, but its size is only int32_t.
timer_create() sets it here:
*timerid = (timer_t) newp;
and timer_settime() expects to find the whole 64-bit pointer there:
struct timer *kt = (struct timer *) timerid;
Unless someone has a bright idea, it seems that we'll have to store
this in a global structure like the old LinuxThreads version was doing
(c.f. __timer_alloc(), timer_ptr2id(), etc).
--
Robert Millan
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive:
http://lists.debian.org/CAOfDtXOTOUXvAf97=LjxHyeLwDnguw8B_mfAbnP7uM9=pbh...@mail.gmail.com