[PATCH] Fix typo in plan 9 mksem.
[Thread Prev] | [Thread Next]
- Subject: [PATCH] Fix typo in plan 9 mksem.
- From: iriri <iri@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Reply-to: myrddin-dev@xxxxxxxxxxxxxx
- Date: Thu, 26 Jul 2018 22:19:36 -0700
- To: "myrddin-dev" <myrddin-dev@xxxxxxxxxxxxxx>
--- lib/thread/sem+plan9.myr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/thread/sem+plan9.myr b/lib/thread/sem+plan9.myr index d760d516..221a8056 100644 --- a/lib/thread/sem+plan9.myr +++ b/lib/thread/sem+plan9.myr @@ -17,7 +17,7 @@ pkg thread = ;; const mksem = {v - std.assert((v : int32) > 0, "semaphore overflowed") + std.assert((v : int32) >= 0, "error: invalid initial semaphore value\n") -> [._user = (v : int32), ._kern = 0] } -- 2.18.0
- Prev by Date: Re: Subject: [PATCH 2/2] Add/fix condvar implementations.
- Next by Date: [PATCH] Update documentation for libthread.
- Previous by thread: Re: Subject: [PATCH 2/2] Add/fix condvar implementations.
- Next by thread: [PATCH] Update documentation for libthread.
- Index(es):