projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Clarify that adding code where interrupts are already disabled may be
[pintos-anon]
/
src
/
threads
/
thread.c
diff --git
a/src/threads/thread.c
b/src/threads/thread.c
index dc23efb4b2dfb3bb608084940991a3c916d50ae6..196ffafcf7276315f8d861244f0801cc45c31622 100644
(file)
--- a/
src/threads/thread.c
+++ b/
src/threads/thread.c
@@
-96,7
+96,8
@@
thread_start (void)
intr_enable ();
}
intr_enable ();
}
-/* Called by the timer interrupt handler at each timer tick. */
+/* Called by the timer interrupt handler at each timer tick.
+ Thus, this function runs in an external interrupt context. */
void
thread_tick (void)
{
void
thread_tick (void)
{