* Bosko Milekic <[EMAIL PROTECTED]> [001216 11:15] wrote:
>
> Hello,
>
> Recently, there was a bikeshed on one of the lists dealing with
> whether or not to rename M_WAIT and M_DONTWAIT flags to something else
> that would "communicate more of the Right Thing" to developers
> considering that for mbuf allocations, M_WAIT may return a NULL pointer
> in the case where all mbuf resources are depleted and mbuf_wait time has
> already been spent waiting.
>
> The proposed flag names were/are:
>
> M_WAIT --> M_TRY_WAIT
> M_DONTWAIT --> M_DONTBLOCK
>
I think M_DONTWAIT is fine as it was, and M_TRYWAIT instead of M_TRY_WAIT.
Leaving it as M_DONTWAIT should reduce the delta by quite a bit and
M_TRYWAIT vs M_TRY_WAIT because you have M_DONTWAIT/M_DONTBLOCK.
-Alfred
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message