diff options
author | Richard Braun <rbraun@sceen.net> | 2018-02-24 06:45:44 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2018-02-24 06:48:21 +0100 |
commit | 7dcf6715ffb3cc2f00f6327b896d16f173a1b082 (patch) | |
tree | 210570e98e074d7abade0d22c64e05b9c02435ba /kern/turnstile.h | |
parent | be5b9d6ab9f7e7a81c367e4bb0823ba11f85940f (diff) |
New errno.h standard header
Use standard errno codes. This change also adds strerror to string.h.
Diffstat (limited to 'kern/turnstile.h')
-rw-r--r-- | kern/turnstile.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kern/turnstile.h b/kern/turnstile.h index 8d427db..6b59dd5 100644 --- a/kern/turnstile.h +++ b/kern/turnstile.h @@ -160,10 +160,10 @@ bool turnstile_empty(const struct turnstile *turnstile); * to prevent unbounded priority inversion. * * When bounding the duration of the wait, the caller must pass an absolute - * time in ticks, and ERROR_TIMEDOUT is returned if that time is reached - * before the turnstile is signalled. In addition, if a timeout occurs, - * the calling thread temporarily releases the turnstile before returning, - * causing other threads to consider the turnstile as empty. + * time in ticks, and ETIMEDOUT is returned if that time is reached before + * the turnstile is signalled. In addition, if a timeout occurs, the calling + * thread temporarily releases the turnstile before returning, causing other + * threads to consider the turnstile as empty. */ void turnstile_wait(struct turnstile *turnstile, const char *wchan, struct thread *owner); |