Jeff Trawick wrote: >Ryan Bloom <[EMAIL PROTECTED]> writes: > >>This patch implements my idea for a new API to apr_proc_wait and >>apr_proc_all_wait. >> > ><nitpick> >I'm a wee bit nervous that we use an enumerated type for a bitmask. >Using an enumeration for the values of the bits seems fine but maybe >using some unsigned int value is best? We'd expect an enumerated type >to hold only the values in the enumeration, not some OR of some of >them. ></nitpick> >
Not so. ISO C explicitly allows this use of enums (and so does ISO C++).. -- Brane Čibej <[EMAIL PROTECTED]> http://www.xbc.nu/brane/
