napi_schedule_prep(9)

NAME

napi_schedule_prep - check if napi can be scheduled

SYNOPSIS

int napi_schedule_prep(struct napi_struct * n);

ARGUMENTS

n
napi context

DESCRIPTION

Test if NAPI routine is already running, and if not mark it as running. This is used as a condition variable insure only one NAPI poll instance runs. We also make sure there is no pending NAPI disable.

COPYRIGHT

Copyright © 2010-2025 Platon Technologies, s.r.o.           Index | Man stránky | tLDP | Dokumenty | Utilitky | O projekte
Design by styleshout