ligd
|
7c547b3ebd
|
sem: remove limitation of irq context when do sem_trywait
Signed-off-by: ligd <liguiding1@xiaomi.com>
|
2021-11-17 02:20:08 -06:00 |
|
Xiang Xiao
|
2e54df0f35
|
Don't include assert.h from public header file
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2021-06-03 08:36:03 -07:00 |
|
Alin Jerpelea
|
8935ac4cc3
|
sched: Author Gregory Nutt: update licenses to Apache
Gregory Nutt has submitted the SGA and we can mograte the licenses
to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
|
2021-02-09 01:21:53 -08:00 |
|
Nathan Hartman
|
a5e643b0cd
|
Fix typos in comments and documentation.
|
2020-03-16 20:01:11 -06:00 |
|
Xiang Xiao
|
5c80b94820
|
Replace #include <semaphore.h> to #include <nuttx/semaphore.h>
Since the kernel side should call nxsem_xxx instead and remove the unused inclusion
|
2020-02-01 08:27:30 -06:00 |
|
Gregory Nutt
|
b54ffe858a
|
Standardization of some function headers.
|
2018-03-13 09:52:27 -06:00 |
|
Gregory Nutt
|
7cf88d7dbd
|
Make sure that labeling is used consistently in all function headers.
|
2018-02-01 10:00:02 -06:00 |
|
Gregory Nutt
|
7cc63f90d9
|
sched/semaphore: sem_trywait() modifies the errno value and, hence, should not be used within the OS. Use nxsem_trywait() instead.
|
2017-10-05 07:59:06 -06:00 |
|
Freddie Chopin
|
484a1b6104
|
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 |
|
Gregory Nutt
|
6e3107650d
|
nuttx/sched: Replace irqsave() with enter_critical_section(); replace irqrestore() with leave_critical_section()
|
2016-02-14 08:17:46 -06:00 |
|
Gregory Nutt
|
74db48202e
|
sched/: Replace explict references to g_readytorun with indirect references via the this_task() macro
|
2016-02-06 17:44:41 -06:00 |
|
Gregory Nutt
|
79d554939e
|
sched/: Fix some spacing issues
|
2015-10-07 19:59:14 -06:00 |
|
Gregory Nutt
|
cb9e27c3b0
|
Standardize naming used for public data and function groupings
|
2015-10-02 16:30:35 -06:00 |
|
Gregory Nutt
|
071658bb6d
|
Another missing semicolon
|
2015-04-23 07:18:59 -06:00 |
|
Gregory Nutt
|
d798dd37a7
|
Replace os_internal.h with sched/sched.h in files that actually reference something in sched.h
|
2014-08-08 17:53:55 -06:00 |
|
Gregory Nutt
|
e10a23ae50
|
Move environment files from sched/ to sched/environ
|
2014-08-08 13:53:29 -06:00 |
|