aboutsummaryrefslogtreecommitdiffstats
path: root/info/cmdipc.texinfo
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--info/cmdipc.texinfo7
1 files changed, 4 insertions, 3 deletions
diff --git a/info/cmdipc.texinfo b/info/cmdipc.texinfo
index 3f5cbba..5fd1600 100644
--- a/info/cmdipc.texinfo
+++ b/info/cmdipc.texinfo
@@ -545,13 +545,14 @@ slash.
@cartouche
@example
[sysv] create:
- (s, m) := (S(threshold), S(1))
+ (s, mm c) := (S(threshold), S(1), S(0))
[sysv] enter:
P(s), Z(s)
- P(m)
- if s.value = 0:
+ P(m), V(c)
+ if c.value = threshold:
s.value := threshold
+ c.value := 0
V(m)
[posix] create: