Doug Rabson wrote: > > On Mon, 30 Aug 1999, Francis Jordan wrote: > > > Do as NetBSD does to remain compatible? Or borrow a few thoughts from > > Solaris, which also has 128 signals: > > > > typedef struct { /* signal set type */ > > unsigned long __sigbits[4]; > > } sigset_t; > > Please be careful with your datatypes when formulating this. If you are > going to pack 32 signals into one field, make it u_int32_t, not int or > long.
I also was not quite happy with the choice of type for __sigbits. Is it worth having __sigbits to be the size that most suits the architecture (32 for i386; 64 for alpha) because of the frequent bit manipulations that are expected to be performed with it? -- Marcel Moolenaar mailto:mar...@scc.nl SCC Internetworking & Databases http://www.scc.nl/ Amsterdam, The Netherlands tel: +31 20 4200655 To Unsubscribe: send mail to majord...@freebsd.org with "unsubscribe freebsd-hackers" in the body of the message