diff options
author | Richard Braun <rbraun@sceen.net> | 2019-08-19 11:35:57 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2019-08-19 11:35:57 +0200 |
commit | 985855bfcb6ff3f26ef4521f95cb773c8f61a916 (patch) | |
tree | f626191175fef9350b8d913dbc419cba61825e51 | |
parent | 502c1521a40556a7702f7d0747c2a4b1e7734d04 (diff) |
Document thread_delay
-rw-r--r-- | kern/thread.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kern/thread.h b/kern/thread.h index d77b35f3..5a109233 100644 --- a/kern/thread.h +++ b/kern/thread.h @@ -267,6 +267,9 @@ int thread_resume(struct thread *thread); /* * Suspend execution of the calling thread. + * + * If this function causes the calling thread to yield the processor, + * this is an intra-thread release-acquire operation. */ void thread_delay(uint64_t ticks, bool absolute); |