>Frank Van Der Linden wrote:
>> John Zolnowsky x69422/408-404-5064 wrote:
>> > Your understanding is basically correct: the symbol _POSIX_RTSIG_MAX
>> > is a minimum maximum for the number of realtime signals; there can
>> > be no less than 8 realtime signals.  This is from IEEE 1003.1
>> > or ISO/IEC 9945-1.
>>
>> Ok, thanks. Looks like MAXSIG will have to be bumped. While there, like
>> Roland suggested, might as well increase the number of available RT
>> signals, if this is something that people will like OpenSolaris more for
>> their applications.
>
>Just curious: How much room is there for more signals, e.g. how many
>signals can the kernel handle as maximum ? 64 (=number of bits in an
>|int64_t|) ?

API/ABI limitation:

typedef struct {                /* signal set type */
        unsigned int    __sigbits[4];
} sigset_t;


So that's 4x32 = 128.

The kernel currently uses only 64 bits it seems:

typedef struct {
        unsigned int    __sigbits[2];
} k_sigset_t;


So upto 64 seems easy and upto 128 possible.

Casper

_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to