apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Branko ─îibej <br...@xbc.nu>
Subject Re: [PATCH] apr_proc_wait
Date Tue, 23 Oct 2001 17:54:00 GMT
Jeff Trawick wrote:

>Ryan Bloom <rbb@covalent.net> 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   <brane@xbc.nu>   http://www.xbc.nu/brane/




Mime
View raw message