Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jul 2013 16:50:00 GMT
From:      Petr Salinger <Petr.Salinger@seznam.cz>
To:        freebsd-threads@FreeBSD.org
Subject:   Re: threads/180652: compat32 problem in clock_getcpuclockid2
Message-ID:  <201307201650.r6KGo0xa082591@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR threads/180652; it has been noted by GNATS.

From: Petr Salinger <Petr.Salinger@seznam.cz>
To: Konstantin Belousov <kostikbel@gmail.com>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: threads/180652: compat32 problem in clock_getcpuclockid2
Date: Sat, 20 Jul 2013 18:46:58 +0200 (CEST)

 >> It looks like the only remaining missing part of compat32 interfaces
 >> (covered by our eglibc testsuite) is ktimer_*() family, used for
 >> http://pubs.opengroup.org/onlinepubs/9699919799/functions/timer_gettime.html
 >
 > Try this.
 
 The sizeof(struct sigevent) used in
 
    int ktimer_create(clockid_t clock_id, struct sigevent *evp, int *timerid);
 
 is not the same in 32-bit and 64-bit arch. I doubt it will work correctly.
 
 > Could you provide me with the isolated test case for timer_*
 > functions ?
 
 They can be derived from
 
 http://sourceware.org/git/?p=glibc.git;a=blob_plain;f=nptl/sysdeps/pthread/tst-timer.c;hb=HEAD
 
 and tst-timer[2-5].c from
 
 http://sourceware.org/git/?p=glibc.git;a=tree;f=rt
 
 Thanks for you work
 
  			Petr



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307201650.r6KGo0xa082591>