MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Kernel Functions for Drivers           devmapsetctxtimeout(9F)



NAME
     devmapsetctxtimeout - set the timeout value for the  con-
     text management callback

SYNOPSIS
     #include 
     #include 



     void devmapsetctxtimeout(devmapcookiet dhp, clockt ticks);


INTERFACE LEVEL
     Solaris DI specific (Solaris DI).

PARAMETERS
     dhp      An opaque mapping handle that the  system  uses  to
              describe the mapping.


     ticks    Number of clock ticks to  wait  between  successive
              calls to the context management callback function.


DESCRIPTION
     The devmapsetctxtimeout()  function  specifies  the  time
     interval  for the system to wait between successive calls to
     the   driver's   context   management   callback   function,
     devmapcontextmgt(9E).


     Device drivers typically  call  devmapsetctxtimeout()  in
     the  devmapmap(9E)  routine.  If  the  drivers  do not call
     devmapsetctxtimeout()  to  set  the  timeout  value,  the
     default  timeout  value of 0 will result in no delay between
     successive calls to the driver's devmapcontextmgt(9E) call-
     back function.

CONTEXT
     The devmapsetctxtimeout() function  can  be  called  from
     user, interrupt, or kernel context.

SEE ALSO
     devmapcontextmgt(9E), devmapmap(9E), timeout(9F)










SunOS 5.11          Last change: 16 Jan 2006                    1



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™