summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2021-01-24 13:39:24 -0700
committermo khan <mo.khan@gmail.com>2021-01-24 13:39:24 -0700
commit41756b4424f45167d13f18dd5f86532e1bc1b67d (patch)
treead85aebfae1593dbfe60ee3cb41b8c55d373113a
parente823dca5c9d22c5b1f867082eaafcc648f5eec39 (diff)
add notes
-rw-r--r--doc/1.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/1.md b/doc/1.md
index b912a6b..cd5008f 100644
--- a/doc/1.md
+++ b/doc/1.md
@@ -148,3 +148,10 @@ the users can interact with each program while it is running.
A program laoded into memory and executing is called a process.
When a process executes, it typically executes for only a short time
before it either finishes or needs to perform I/O.
+
+Modern operating systems are interrupt driven.
+Events are almost always signaled by the occurrence of an interrupt or a trap.
+
+A trap, or an exception, is a software generated interrupt caused either by
+an error or by a specific request from a user program that an operating-system
+service be performed.