linux-2.6.33/in_atomic()
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*参照元 [#sd26617b]
#backlinks
*説明 [#f1d31484]
-パス: [[linux-2.6.33/include/linux/hardirq.h]]
-FIXME: これは何?
--説明
**引数 [#wf0635a7]
-
--
**返り値 [#r9237f67]
-
--
**参考 [#b09f7dfa]
*実装 [#ocb46275]
/*
* Are we running in atomic context? WARNING: this macr...
* always detect atomic context; in particular, it canno...
* held spinlocks in non-preemptible kernels. Thus it s...
* used in the general case to determine whether sleepin...
* Do not use in_atomic() in driver code.
*/
#define in_atomic() ((preempt_count() & ~PREEMPT_ACTIVE)...
-
--[[linux-2.6.33/preempt_count()]]
-
--[[linux-2.6.33/PREEMPT_ACTIVE]]
-
--[[linux-2.6.33/PREEMPT_INATOMIC_BASE]]
*コメント [#o019736d]
終了行:
*参照元 [#sd26617b]
#backlinks
*説明 [#f1d31484]
-パス: [[linux-2.6.33/include/linux/hardirq.h]]
-FIXME: これは何?
--説明
**引数 [#wf0635a7]
-
--
**返り値 [#r9237f67]
-
--
**参考 [#b09f7dfa]
*実装 [#ocb46275]
/*
* Are we running in atomic context? WARNING: this macr...
* always detect atomic context; in particular, it canno...
* held spinlocks in non-preemptible kernels. Thus it s...
* used in the general case to determine whether sleepin...
* Do not use in_atomic() in driver code.
*/
#define in_atomic() ((preempt_count() & ~PREEMPT_ACTIVE)...
-
--[[linux-2.6.33/preempt_count()]]
-
--[[linux-2.6.33/PREEMPT_ACTIVE]]
-
--[[linux-2.6.33/PREEMPT_INATOMIC_BASE]]
*コメント [#o019736d]
ページ名: