bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 5/7] include: add lock-less reference counting primitives


From: Neal H. Walfield
Subject: Re: [PATCH 5/7] include: add lock-less reference counting primitives
Date: Wed, 14 May 2014 13:27:19 +0200
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.4 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

At Tue, 13 May 2014 21:02:54 +0200,
Justus Winter wrote:
> +  assert (r != UINT_MAX);

How about 'assert(r != UINT_MAX || !"refcount underflowed!")'.  Since
assert (r != UINT_MAX) requires understanding the use of an unsigned
int.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]