urcu_ref: do error checking on urcu_ref_put
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 9 Jun 2011 14:15:28 +0000 (10:15 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 9 Jun 2011 14:15:28 +0000 (10:15 -0400)
commitbf27322dfd077203b5f8a58548560158dccd8c60
treefadcdf50a8ad80880be813bda8b51753f4e3a572
parentb4e6d540d604b2c9fc617d6d7c2c02469c97ad0f
urcu_ref: do error checking on urcu_ref_put

Underflow is what you really want to trap.  When you reach urcu_ref_get,
it is already too late.

[Edit: whitespaces -> tab cleanup]

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
urcu/urcu_ref.h
This page took 0.027139 seconds and 4 git commands to generate.