Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Unix の実行状態 (状態遷移図で) が「ユーザー実行中」と「カーネル実行中」に分かれているのはなぜですか..そして、私の答えをオペレーティング システムの実装の種類にどのようにマッピングできますか?
ユーザー実行は通常、純粋な計算が行われる場所です - 例: 数学、データ構造の操作、ユーザー入力の解析read() write() open() ioctl()など. 理由を知りたい場合は、ファイルシステムのような抽象化ではなく、任意のプロセスがディスク上のバイトを直接操作できる場合の安定性の保証を検討してください。
read()
write()
open()
ioctl()