summaryrefslogtreecommitdiff
path: root/libpager
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-01-25 21:13:19 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-01-25 21:13:19 +0000
commit1042b9c6e62779a9e88ca41e79ef7e725bcaf870 (patch)
tree3bb1e37449b24a6e61251640f5c22000df1a88e1 /libpager
parenta03d37c3b2c60323143433858d62f75461435ae5 (diff)
Formerly seqnos.c.~4~
Diffstat (limited to 'libpager')
-rw-r--r--libpager/seqnos.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/libpager/seqnos.c b/libpager/seqnos.c
index 87eb47c8..62db626d 100644
--- a/libpager/seqnos.c
+++ b/libpager/seqnos.c
@@ -17,8 +17,9 @@
#include "priv.h"
-/* Wait until all preceding messages on this port have
- had a chance to be honored. */
+/* The message with seqno SEQNO has just been dequeued for pager P;
+ wait until all preceding messages have had a chance and then
+ return. */
void
_pager_wait_for_seqno (struct pager *p,
int seqno)
@@ -31,7 +32,9 @@ _pager_wait_for_seqno (struct pager *p,
p->seqno = seqno;
}
-/* Allow the next message in. */
+
+/* Allow the next message for pager P (potentially blocked in
+ _pager_wait_for_seqno) to be handled. */
void
_pager_release_seqno (struct pager *p)
{