Gregory Nutt 9568600ab1 Squashed commit of the following:
This commit backs out most of commit b4747286b19d3b15193b2a5e8a0fe48fa0a8638c.  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
..
2017-09-19 14:17:05 -06:00
2017-10-04 15:22:27 -06:00
2014-10-11 08:15:23 -06:00
2014-12-09 13:27:22 -06:00
2013-07-07 17:35:35 -06:00
2013-07-07 17:35:35 -06:00
2016-10-24 16:18:30 -06:00
2017-07-23 07:17:56 -06:00
2015-11-22 08:39:17 -06:00
2014-04-13 14:32:20 -06:00
2017-04-08 12:34:08 -06:00
2016-12-10 16:34:14 -06:00
2015-02-23 11:49:02 -06:00
2017-02-16 14:42:27 -06:00
2017-02-17 09:48:55 -06:00