From d448340a76df9e070a3c233fd55a2329809123df Mon Sep 17 00:00:00 2001 From: Joe Bryan Date: Tue, 11 Dec 2018 18:17:13 -0500 Subject: [PATCH] adds and corrects some raft comments --- vere/raft.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/vere/raft.c b/vere/raft.c index 6c2778a21a..e4134c29ad 100644 --- a/vere/raft.c +++ b/vere/raft.c @@ -1952,7 +1952,10 @@ _raft_crop(void) } } -/* _raft_pop_roe(): pop the next [(list effects) event] pair of the queue +/* _raft_pop_roe(): pop the next [~ event] off the queue. +** +** effects are no longer stored on u3A->roe; the head of +** each pair is always null. */ static u3_weak _raft_pop_roe(void) @@ -1973,17 +1976,16 @@ _raft_pop_roe(void) return ovo; } -/* _raft_poke(): Peel one ovum off u3A->roe and poke Arvo with it. +/* _raft_poke(): poke Arvo with the next queued event. */ static u3_weak _raft_poke(void) { u3_weak rus; - // XX what is this condition? + // defer event processing until storage is initialized // if ( 0 == u3Z->lug_u.len_d ) { - fprintf(stderr, "_raft_poke ret early\r\n"); return u3_none; }