[riot-notifications] [RIOT-OS/RIOT] sys/shell: switch stdout to unbuffered mode (#8784)

Juan I Carrano notifications at github.com
Wed May 29 17:18:49 CEST 2019


@PeterKietzmann I will take a look. If it works, then I'd rather have it as the default for all of RIOT, not only the shell. The main reason for output line buffering is to minimize write() calls and thus system calls, which are expensive (the buffering is done in userspace until it is time to flush). Given that RIOT does not have the notion of kernel/userspace separation and no system calls, buffering is not necessary.*

(*) there is still quite a chain of function calls leading from write to the final destination in the uart buffer, but that's another story.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/8784#issuecomment-496982398
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190529/0c05f203/attachment.html>


More information about the notifications mailing list