From 1042b9c6e62779a9e88ca41e79ef7e725bcaf870 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 25 Jan 1994 21:13:19 +0000 Subject: Formerly seqnos.c.~4~ --- libpager/seqnos.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'libpager') 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) { -- cgit v1.2.3