On 08.08.2013 16:25:45, Martin Sucha wrote: > If you run a kconsole command normally, you pass it stdout directly > and nothing is buffered. If you want paging, you pass a special > stream handler, which blocks when the screen is full until you press > a key.
Wouldn't it be more logical to have a special kprintf() that writes to a special stream for critical kernel messages and an optional outdev's buffer for everything else. That way critical kernel messages are sure to go through and arrive on time on the output device. And, what's more, indev's and outdev's buffers can be combined to create new functionality for kconsole, paging included, without rewriting existing commands that use printf(). _______________________________________________ HelenOS-devel mailing list [email protected] http://lists.modry.cz/listinfo/helenos-devel
