X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=src%2Fserver%2Fio.h;h=9dffd258cf8180010d63828f364f15a0fdcb51cf;hb=2dd6403d51a46a33e29b2255ec8aa100583e4051;hp=009052bd8c508b957bafca66175aa6d15d69b9f7;hpb=4438d108ea0242ed0a17207ae4cb1f4b30ce2f5b;p=plomrogue diff --git a/src/server/io.h b/src/server/io.h index 009052b..9dffd25 100644 --- a/src/server/io.h +++ b/src/server/io.h @@ -17,6 +17,8 @@ * if queue is empty and world.do_update is set, update world state file (and * unset world.do_update) and write a single dot line to server out file, then * read server in file for the next load of bytes to put onto the input queue. + * (Queueing ensures only complete messages are interpreted, and io_loop()'s + * server tests only happening in a multi-second interval.) */ extern char * io_round();