Hi!
> I checked the value of (1024 / (8 * sizeof (unsigned long int))) and it is 32
> on both our mips, mips64, and x86 targets. Calling ppoll fails with invalid
> argument error in all of these cases. I don't see a
> user/include/sigset/bits.h header in our userland, but _SIGSET_NWORDS macro
> also returns 32 when printed out.

My mistake, the last size argument is sizeof(sigset_t) but not the userspace
one but the kernel sigset_t (that is defined as bitfield big enough for all
signals). Glibc pases _NSIG/8 here which seems to be correct (as _NSIG is
defined as 128 on mips).

-- 
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to