*参照元 [#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 time has
  * 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 time is guaranteed to
  * pass before the routine returns.
  *
  * %TASK_INTERRUPTIBLE - the routine may return early if a signal is
  * delivered to the current task.
  *
  * The current task state is guaranteed to be TASK_RUNNING when this
  * 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 ライセンスのモジュールにのみシンボルを公開する。
-GPL のモジュールにのみシンボルを公開する。
--[[linux-2.6.33/EXPORT_SYMBOL_GPL()]]


*コメント [#j347a6a3]

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS