From 2b184e2630f74fe4f568212de7e143a9bc3743b8 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 12 Aug 2012 17:37:04 +0000 Subject: drivers/serial/serial.c open, read, write, and poll methods will not return a short transfer or an EINTR error if a signal is received while waiting (only) git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5022 7fd9a85b-ad96-42d3-883c-3090e2eb8679 --- nuttx/TODO | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) (limited to 'nuttx/TODO') diff --git a/nuttx/TODO b/nuttx/TODO index f9fc558ea..543d15f70 100644 --- a/nuttx/TODO +++ b/nuttx/TODO @@ -1,4 +1,4 @@ -NuttX TODO List (Last updated August 7, 2012) +NuttX TODO List (Last updated August 12, 2012) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This file summarizes known NuttX bugs, limitations, inconsistencies with @@ -16,7 +16,7 @@ nuttx/ (17) Network (net/, drivers/net) (3) USB (drivers/usbdev, drivers/usbhost) (11) Libraries (lib/) - (10) File system/Generic drivers (fs/, drivers/) + (9) File system/Generic drivers (fs/, drivers/) (5) Graphics subystem (graphics/) (1) Pascal add-on (pcode/) (1) Documentation (Documentation/) @@ -750,21 +750,6 @@ o File system / Generic drivers (fs/, drivers/) Status: Open Priority: Low - Title: SERIAL DRIVER DOES NOT RETURN WHEN SIGNAL RECEIVED - Description: The serial driver (drivers/serial) should return with an - error and errno=EINTR when an interrupt is received. However, - the serial driver just continues waiting: - - static void uart_takesem(FAR sem_t *sem) - { - while (sem_wait(sem) != 0) - { - ASSERT(*get_errno_ptr() == EINTR); - } - } - Status: Open - Priority Medium - Title: POLLHUP SUPPORT Description: All drivers that support the poll method should also report POLLHUP event when the driver is closedd. -- cgit v1.2.3