/* * Note: this provides no serialization and, just as with waitqueues, * requires care to estimate as to whether or not the wait is active.
*/ staticinlineint rcuwait_active(struct rcuwait *w)
{ return !!rcu_access_pointer(w->task);
}
externint rcuwait_wake_up(struct rcuwait *w);
/* * The caller is responsible for locking around rcuwait_wait_event(), * and [prepare_to/finish]_rcuwait() such that writes to @task are * properly serialized.
*/
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.