nuttx/drivers/serial
Gregory Nutt d09bb13833 In case a thread is doing a blocking operation (e.g. read()) on a serial
device, while it is being terminated by pthread_cancel(), then
uart_close() gets called, but the semaphore (dev->recv.sem in the above
example) is still blocked.

This means that once the serial device is opened next time, data will
arrive on the serial port (and driver interrupts handled as normal), but
the received characters never arrive in the reader thread.

This patch addresses the problem by re-initializing the semaphores on the
last uart_close() on the device.
2014-12-13 08:07:21 -06:00
..
Kconfig SAMA5D3 Xplained: Add an apps/examples/bridge configuration 2014-11-20 16:24:30 -06:00
lowconsole.c More trailing whilespace removal 2014-04-13 14:32:20 -06:00
Make.defs drivers/, drivers/pipes, and drivers/serial file clean-up 2012-07-15 14:56:25 +00:00
serial.c In case a thread is doing a blocking operation (e.g. read()) on a serial 2014-12-13 08:07:21 -06:00
serialirq.c Add serial method so that lower half driver can provide RX flow control information. From Jussi Kivilinna 2014-05-08 09:00:33 -06:00
uart_16550.c Add serial method so that lower half driver can provide RX flow control information. From Jussi Kivilinna 2014-05-08 09:00:33 -06:00