nuttx/sched/semaphore
Gregory Nutt 83cdb0c552 Squashed commit of the following:
libc/semaphore:  Add nxsem_getvalue() which is identical to sem_getvalue() except that it never modifies the errno variable.  Changed all references to sem_getvalue in the OS to nxsem_getvalue().

    sched/semaphore:  Rename all internal private functions from sem_xyz to nxsem_xyz.  The sem_ prefix is (will be) reserved only for the application semaphore interfaces.

    libc/semaphore:  Add nxsem_init() which is identical to sem_init() except that it never modifies the errno variable.  Changed all references to sem_init in the OS to nxsem_init().

    sched/semaphore:  Rename sem_tickwait() to nxsem_tickwait() so that it is clear this is an internal OS function.

    sched/semaphoate:  Rename sem_reset() to nxsem_reset() so that it is clear this is an internal OS function.
2017-10-03 12:52:31 -06:00
..
Make.defs sem_setprotocol: Handle a case of missing proxy for sem_setprotocol. Reorder so that (1) this error is avoided, and (2) >No proxy is needed if priority inheritance is not enabled. 2016-11-03 18:51:38 -06:00
sem_destroy.c Squashed commit of the following: 2017-10-03 12:52:31 -06:00
sem_holder.c Squashed commit of the following: 2017-10-03 12:52:31 -06:00
sem_initialize.c Squashed commit of the following: 2017-10-03 12:52:31 -06:00
sem_post.c Squashed commit of the following: 2017-10-03 12:52:31 -06:00
sem_recover.c Squashed commit of the following: 2017-10-03 12:52:31 -06:00
sem_reset.c Squashed commit of the following: 2017-10-03 12:52:31 -06:00
sem_setprotocol.c Squashed commit of the following: 2017-10-03 12:52:31 -06:00
sem_tickwait.c Squashed commit of the following: 2017-10-03 12:52:31 -06:00
sem_timedwait.c Squashed commit of the following: 2017-10-03 12:52:31 -06:00
sem_timeout.c Squashed commit of the following: 2017-10-03 12:52:31 -06:00
sem_trywait.c sem_wait() and sem_trywait() no longer modify the errno value UNLESS an error occurs. This allows these functions to be used internallly without clobbering the errno value. 2016-11-09 07:01:49 -06:00
sem_wait.c Squashed commit of the following: 2017-10-03 12:52:31 -06:00
sem_waitirq.c Squashed commit of the following: 2017-10-03 12:52:31 -06:00
semaphore.h Squashed commit of the following: 2017-10-03 12:52:31 -06:00
spinlock.c SMP: There were certain conditions that we must avoid by preventing releasing the pending tasks while withn a critical section. But this logic was incomplete; there was no logic to prevent other CPUs from adding new, running tasks while on CPU is in a critical section. 2016-12-27 08:49:07 -06:00