schedule_timeout man page on Scientific

Man page or keyword search:  
man Server   26626 pages
apropos Keyword Search (all sections)
Output format
Scientific logo
[printable version]

SCHEDULE_TIMEOUT(9)		 Driver Basics		   SCHEDULE_TIMEOUT(9)

NAME
       schedule_timeout - sleep until timeout

SYNOPSIS
       signed long __sched schedule_timeout(signed long timeout);

ARGUMENTS
       timeout
	   timeout value in jiffies

DESCRIPTION
       Make the current task sleep until timeout jiffies have elapsed. The
       routine will return immediately unless the current task state has been
       set (see set_current_state).

       You can set the task state as follows -

       TASK_UNINTERRUPTIBLE - at least timeout jiffies are guaranteed to pass
       before the routine returns. The routine will return 0

       TASK_INTERRUPTIBLE - the routine may return early if a signal is
       delivered to the current task. In this case the remaining time in
       jiffies will be returned, or 0 if the timer expired in time

       The current task state is guaranteed to be TASK_RUNNING when this
       routine returns.

       Specifying a timeout value of MAX_SCHEDULE_TIMEOUT will schedule the
       CPU away without a bound on the timeout. In this case the return value
       will be MAX_SCHEDULE_TIMEOUT.

       In all cases the return value is guaranteed to be non-negative.

COPYRIGHT
Kernel Hackers Manual 2.6.	 November 2013		   SCHEDULE_TIMEOUT(9)
[top]

List of man pages available for Scientific

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net