On Tue, Oct 18, 2011 at 08:42:52PM +0000, Grant Edwards wrote: > On 2011-10-18, Khem Raj <[email protected]> wrote: > > On Tue, Oct 18, 2011 at 11:23 AM, Grant Edwards > ><[email protected]> wrote: > >> I'm trying to run some code that works fine using glibc on an AI32 > >> desktop, but timer_create() is failing with a return value of -1 and > >> errno of 0 "Success". This is with uClibc 0.9.30.3 (as built by > >> crosstool-NG 1.12.0 for an ARM9 target. > >> > >> It looks like it's because uClibc doesn't support SIGEV_THREAD. ??At > >> least that's what I've concluded from looking at the librt code. > > > > yes that could be the cause. Can you use 0.9.32 release and use NPTL > > there it should work. > > For now, I'm rewriting the code to use SIGEV_SIGNAL.
If you want thread delivery, it would be easiest to just make a thread that enters a loop calling clock_nanosleep to sleep until the next intended wakeup time then calls your callback function... Rich _______________________________________________ uClibc mailing list [email protected] http://lists.busybox.net/mailman/listinfo/uclibc
