/* * Reset the wounded flag after a kill. No other process can * race and wound us here, since they can't have a valid owner * pointer if we don't have any locks held.
*/ if (ww_ctx->acquired == 0)
ww_ctx->wounded = 0;
if (ww_ctx) { if (unlikely(ww_ctx == READ_ONCE(lock->ctx))) return -EALREADY;
/* * Reset the wounded flag after a kill. No other process can * race and wound us here, since they can't have a valid owner * pointer if we don't have any locks held.
*/ if (ww_ctx->acquired == 0)
ww_ctx->wounded = 0;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.