uart_16550 icon indicating copy to clipboard operation
uart_16550 copied to clipboard

Add try_receive method

Open bjorn3 opened this issue 1 year ago • 0 comments

.receive() polls for new input internally. A .try_receive() method would allow the OS to handle the polling itself and do other useful work between two polls rather than hang until the next input byte or (if supported by the OS) the current kernel thread gets preempted.

bjorn3 avatar May 03 '24 13:05 bjorn3