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

Re: [PATCH] timers for kFreeBSD



Hi Petr,

El 26 de març de 2012 8:46, Petr Salinger <Petr.Salinger@seznam.cz> ha escrit:
>>> It fails some regression tests on eglibc, is that on purpose?
>
> I looked quickly at the patch, please note that linuxthreads library uses
> internally signals 32-34 in a different way to NPTL, I doubt they can be
> reused for timers.

That sounds problematic.  Only 32 and 33 are reserved for userland. 34 isn't.

Can RT signals be used instead?  Or use a single signal and send the
rest of information with si_value / si_ptr?

Otherwise, how about setting PTHREAD_SIGBASE to something higher to
avoid collision?

-- 
Robert Millan


Reply to: