[Spice-devel] [PATCH spice 2/5] usbredir: Ensure that our msg_rcv_buf is not used re-entrantly

Hans de Goede hdegoede at redhat.com
Thu Sep 1 01:08:44 PDT 2011


Hi,

On 09/01/2011 10:01 AM, Christophe Fergeau wrote:
> On Thu, Aug 25, 2011 at 12:19:54PM +0200, Hans de Goede wrote:
>> +    assert(!state->rcv_buf_in_use);
>> +
>
> There's an ASSERT macro defined in common/spice_common.h

Right, and that only actually asserts when doing debug builds,
iow almost never, which is good given that there are a tone
of not all that sensible (IMHO) ASSERT's all over the place
however here I really want an assert :)

Regards,

Hans


More information about the Spice-devel mailing list