linux-2.6.33/schedule_hrtimeout()
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*参照元 [#q439aed4]
#backlinks
*説明 [#m14f3fe7]
-パス: [[linux-2.6.33/kernel/hrtimer.c]]
-FIXME: これは何?
--説明
**引数 [#p3791eb7]
-ktime_t *expires
--
--[[linux-2.6.33/ktime_t]]
-const enum hrtimer_mode mode
--
--[[linux-2.6.33/hrtimer_mode]]
**返り値 [#n46ddd58]
-int
--
**参考 [#t623201d]
*実装 [#a46e8f31]
/**
* schedule_hrtimeout - sleep until timeout
* @expires: timeout value (ktime_t)
* @mode: timer mode, HRTIMER_MODE_ABS or HRTIMER_MODE_REL
*
* Make the current task sleep until the given expiry ti...
* elapsed. The routine will return immediately unless
* the current task state has been set (see set_current_...
*
* You can set the task state as follows -
*
* %TASK_UNINTERRUPTIBLE - at least @timeout time is gua...
* pass before the routine returns.
*
* %TASK_INTERRUPTIBLE - the routine may return early if...
* delivered to the current task.
*
* The current task state is guaranteed to be TASK_RUNNI...
* routine returns.
*
* Returns 0 when the timer has expired otherwise -EINTR
*/
int __sched schedule_hrtimeout()
{
return schedule_hrtimeout_range(expires, 0, mode);
-
--[[linux-2.6.33/schedule_hrtimeout_range()]]
}
EXPORT_SYMBOL_GPL(schedule_hrtimeout);
-GPL のモジュールにのみシンボルを公開する。
--[[linux-2.6.33/EXPORT_SYMBOL_GPL()]]
*コメント [#j347a6a3]
終了行:
*参照元 [#q439aed4]
#backlinks
*説明 [#m14f3fe7]
-パス: [[linux-2.6.33/kernel/hrtimer.c]]
-FIXME: これは何?
--説明
**引数 [#p3791eb7]
-ktime_t *expires
--
--[[linux-2.6.33/ktime_t]]
-const enum hrtimer_mode mode
--
--[[linux-2.6.33/hrtimer_mode]]
**返り値 [#n46ddd58]
-int
--
**参考 [#t623201d]
*実装 [#a46e8f31]
/**
* schedule_hrtimeout - sleep until timeout
* @expires: timeout value (ktime_t)
* @mode: timer mode, HRTIMER_MODE_ABS or HRTIMER_MODE_REL
*
* Make the current task sleep until the given expiry ti...
* elapsed. The routine will return immediately unless
* the current task state has been set (see set_current_...
*
* You can set the task state as follows -
*
* %TASK_UNINTERRUPTIBLE - at least @timeout time is gua...
* pass before the routine returns.
*
* %TASK_INTERRUPTIBLE - the routine may return early if...
* delivered to the current task.
*
* The current task state is guaranteed to be TASK_RUNNI...
* routine returns.
*
* Returns 0 when the timer has expired otherwise -EINTR
*/
int __sched schedule_hrtimeout()
{
return schedule_hrtimeout_range(expires, 0, mode);
-
--[[linux-2.6.33/schedule_hrtimeout_range()]]
}
EXPORT_SYMBOL_GPL(schedule_hrtimeout);
-GPL のモジュールにのみシンボルを公開する。
--[[linux-2.6.33/EXPORT_SYMBOL_GPL()]]
*コメント [#j347a6a3]
ページ名: