incubator-nuttx/drivers/pipes
Gregory Nutt 9568600ab1 Squashed commit of the following:
This commit backs out most of commit b4747286b1.  That change was added because sem_wait() would sometimes cause cancellation points inappropriated.  But with these recent changes, nxsem_wait() is used instead and it is not a cancellation point.

    In the OS, all calls to sem_wait() changed to nxsem_wait().  nxsem_wait() does not return errors via errno so each place where nxsem_wait() is now called must not examine the errno variable.

    In all OS functions (not libraries), change sem_wait() to nxsem_wait().  This will prevent the OS from creating bogus cancellation points and from modifying the per-task errno variable.

    sched/semaphore:  Add the function nxsem_wait().  This is a new internal OS interface.  It is functionally equivalent to sem_wait() except that (1) it is not a cancellation point, and (2) it does not set the per-thread errno value on return.
2017-10-04 15:22:27 -06:00
..
Kconfig SPI driver: Correct return value in case of a certain error condition 2016-08-06 08:07:30 -06:00
Make.defs drivers/, drivers/pipes, and drivers/serial file clean-up 2012-07-15 14:56:25 +00:00
fifo.c Move driver related prototypes out of include/nuttx/fs/fs.h and into new include/drivers/drivers.h 2016-07-20 13:15:37 -06:00
pipe.c Squashed commit of the following: 2017-10-04 15:22:27 -06:00
pipe_common.c Squashed commit of the following: 2017-10-04 15:22:27 -06:00
pipe_common.h Fix a few typos in the last commit 2016-07-19 13:40:54 -06:00