[riot-notifications] [RIOT-OS/RIOT] Blocking mode for USBUS CDC ACM STDIO (see #16500) (#16508)

Koen Zandberg notifications at github.com
Tue Jun 1 10:25:51 CEST 2021

> if no one consumes the arriving bytes, the board will get stuck forever.

This is why the original implementation is non-blocking. It is not always clear for a device if the USB port is disconnected from the host, latency is unpredictable, and things can break unpredictably if you add a blocking write to the USB thread code.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210601/34997be4/attachment-0001.htm>

More information about the notifications mailing list