From c7a372c782d794605ce5a6f7c27479cfa5343b85 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sat, 9 Jul 2005 11:09:34 +0000 Subject: [PATCH] Doc fix. --- src/lib/subs/pr.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/lib/subs/pr.c b/src/lib/subs/pr.c index a382c8c9..853203a2 100644 --- a/src/lib/subs/pr.c +++ b/src/lib/subs/pr.c @@ -33,10 +33,13 @@ */ /* - * Player output is fully buffered. Unless the receiving player's - * last command has the C_MOD flag set, it can block. Such commands - * can print to the current player without yielding the processor. - * Printing to another player must be assumed to block. + * Player output is fully buffered. It can block only if the + * receiving player is the current player and his last command doesn't + * have the C_MOD flag. Output to another player must not block + * because that player could be gone when the printing thread wakes + * up, and the code isn't prepared for that. Output within C_MOD + * command never blocks, so that such commands can print freely + * without yielding the processor. * * Each line of output starts with an identification character * encoding the output id, followed by space. Ids less than 10 are