incubator-nuttx/sched/task
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
..
Make.defs Add task_testcancel() 2016-12-10 16:34:14 -06:00
exit.c
spawn.h Squashed commit of the following: 2017-10-03 15:35:24 -06:00
task.h Flesh basic cancellation point support 2016-12-09 09:44:23 -06:00
task_activate.c
task_atexit.c
task_cancelpt.c Squashed commit of the following: 2017-10-03 12:52:31 -06:00
task_create.c Miscellaneous fixes from astyle tool. 2017-08-14 17:19:27 -06:00
task_delete.c Update README and some comments. 2017-01-02 13:54:07 -06:00
task_execv.c sched/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition. 2016-06-11 16:42:42 -06:00
task_exit.c Miscellaneous fixes from astyle tool. 2017-08-14 17:19:27 -06:00
task_exithook.c Squashed commit of the following: 2017-10-03 15:35:24 -06:00
task_getgroup.c Remove more of those annoying empty comment blocks. 2016-11-21 07:34:27 -06:00
task_getpid.c Fix lots of occurrences of 'the the', 'the there', 'the these', 'the then', 'the they. 2017-05-11 13:35:56 -06:00
task_init.c Miscellaneous fixes from astyle tool. 2017-08-14 17:19:27 -06:00
task_onexit.c
task_posixspawn.c Miscellaneous fixes from astyle tool. 2017-08-14 17:19:27 -06:00
task_prctl.c Miscellaneous fixes from astyle tool. 2017-08-14 17:19:27 -06:00
task_recover.c Squashed commit of the following: 2017-10-03 12:52:31 -06:00
task_reparent.c sched: Fix tg_flags check with GROUP_FLAG_NOCLDWAIT 2017-04-14 14:50:44 +09:00
task_restart.c task_delete() now obeys all cancellation point semantics. 2016-12-10 14:39:19 -06:00
task_setcancelstate.c Add task_setcanceltype() 2016-12-10 16:06:14 -06:00
task_setcanceltype.c Add task_setcanceltype() 2016-12-10 16:06:14 -06:00
task_setup.c Miscellaneous fixes from astyle tool. 2017-08-14 17:19:27 -06:00
task_spawn.c Miscellaneous fixes from astyle tool. 2017-08-14 17:19:27 -06:00
task_spawnparms.c Squashed commit of the following: 2017-10-04 15:22:27 -06:00
task_start.c binfmt: Don't schedule starthook if there are no constructors. 2017-10-02 14:04:50 -06:00
task_starthook.c Miscellaneous fixes from astyle tool. 2017-08-14 17:19:27 -06:00
task_terminate.c Miscellaneous fixes from astyle tool. 2017-08-14 17:19:27 -06:00
task_testcancel.c Add task_testcancel() 2016-12-10 16:34:14 -06:00
task_vfork.c Fix lots of occurrences of 'the the', 'the there', 'the these', 'the then', 'the they. 2017-05-11 13:35:56 -06:00