This commit is contained in:
Markus Armbruster 2005-07-09 11:09:34 +00:00
parent c0d009758c
commit c7a372c782

View file

@ -33,10 +33,13 @@
*/ */
/* /*
* Player output is fully buffered. Unless the receiving player's * Player output is fully buffered. It can block only if the
* last command has the C_MOD flag set, it can block. Such commands * receiving player is the current player and his last command doesn't
* can print to the current player without yielding the processor. * have the C_MOD flag. Output to another player must not block
* Printing to another player must be assumed to 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 * Each line of output starts with an identification character
* encoding the output id, followed by space. Ids less than 10 are * encoding the output id, followed by space. Ids less than 10 are