#14738: [pc_serial] Sometimes gets stuck in Write() (even in async mode)
---------------------------+----------------------------
Reporter: ttcoder | Owner: mmu_man
Type: bug | Status: assigned
Priority: normal | Milestone: Unscheduled
Component: Drivers/TTY | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
---------------------------+----------------------------
Comment (by korli):
a write() syscall is allowed to return EINTR (see
http://pubs.opengroup.org/onlinepubs/9699919799//functions/write.html :
[EINTR]
The write operation was terminated due to the receipt of a signal, and no
data was transferred. )
The loop could happen on the client side. Would doing the loop in
pc_serial not cause problems when using for instance Ctrl+Break?
--
Ticket URL: <https://dev.haiku-os.org/ticket/14738#comment:6>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.