linux-2.6.33/set_current_state()
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*参照元 [#yc4447c2]
#backlinks
*説明 [#fd78fcc2]
-パス: [[linux-2.6.33/include/linux/sched.h]]
-FIXME: これは何?
--説明
**引数 [#hfd59cba]
-long state_value
--
**返り値 [#n9071516]
-なし
**参考 [#td50bc83]
*実装 [#g6d9d0bf]
/*
* set_current_state() includes a barrier so that the wr...
* is correctly serialised wrt the caller's subsequent t...
* actually sleep:
*
* set_current_state(TASK_UNINTERRUPTIBLE);
* if (do_i_need_to_sleep())
* schedule();
*
* If the caller does not need such serialisation then u...
*/
(...中略...)
#define set_current_state(state_value) \
set_mb(current->state, (state_value))
-
--[[linux-2.6.33/current(global)]]
-
--[[linux-2.6.33/set_mb()]]
*コメント [#y08dfba6]
終了行:
*参照元 [#yc4447c2]
#backlinks
*説明 [#fd78fcc2]
-パス: [[linux-2.6.33/include/linux/sched.h]]
-FIXME: これは何?
--説明
**引数 [#hfd59cba]
-long state_value
--
**返り値 [#n9071516]
-なし
**参考 [#td50bc83]
*実装 [#g6d9d0bf]
/*
* set_current_state() includes a barrier so that the wr...
* is correctly serialised wrt the caller's subsequent t...
* actually sleep:
*
* set_current_state(TASK_UNINTERRUPTIBLE);
* if (do_i_need_to_sleep())
* schedule();
*
* If the caller does not need such serialisation then u...
*/
(...中略...)
#define set_current_state(state_value) \
set_mb(current->state, (state_value))
-
--[[linux-2.6.33/current(global)]]
-
--[[linux-2.6.33/set_mb()]]
*コメント [#y08dfba6]
ページ名: