devmap_set_ctx_timeout - set the timeout value for the context management callback
#include <sys/ddi.h> #include <sys/sunddi.h> void devmap_set_ctx_timeout(devmap_cookie_t dhp, clock_t ticks);
Solaris DDI specific (Solaris DDI).
dhp
ticks
The devmap_set_ctx_timeout() function specifies the time interval for the system to wait between successive calls to the driver's context management callback function, devmap_contextmgt(9E).
Device drivers typically call devmap_set_ctx_timeout() in the devmap_map(9E) routine. If the drivers do not call devmap_set_ctx_timeout() to set the timeout value, the default timeout value of 0 will result in no delay between successive calls to the driver's devmap_contextmgt(9E) callback function.
The devmap_set_ctx_timeout() function can be called from user, interrupt, or kernel context.
devmap_contextmgt(9E), devmap_map(9E), timeout(9F)
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |