Gregory Nutt
|
abf6965c24
Squashed commit of the following:
|
5 years ago |
Michał Łyszczek
|
626afb015b
nuttx/sched/mqueue: Change 'int prio' to 'unsigned int prio'. According to open group specification, priority field in mq_* functions should have unsigned type: http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/mqueue.h.html
|
5 years ago |
Xiang Xiao
|
fb63c0a293
sched/signal and related changes to other OS subsystems.
|
5 years ago |
Gregory Nutt
|
3b22d13493
sched/: Add debug assertions before each call to up_block_task() to assure that there is no attempt to block an IDLE task.
|
5 years ago |
Xiang Xiao
|
a9ff43d93c
fs/aio, libs/libc/aio, sched/mqueue, sched/timer, and sched/signal: Remove the code duplication for SIGEV_THREAD.
|
6 years ago |
Gregory Nutt
|
fc127fd297
sched/signal: Add a generic signal notification facility. Modify the custom IOB available notifier so that it is now just a wrapper around this generic signal notification. This generic signal notification faility will, eventually, be used to support network polling.
|
6 years ago |
Xiang Xiao
|
e1202d2ed3
Replace all ASSERT with DEBUGASSERT to save the code space
|
6 years ago |
Gregory Nutt
|
7cf88d7dbd
Make sure that labeling is used consistently in all function headers.
|
6 years ago |
Gregory Nutt
|
fca07be1df
Squashed commit of the following:
|
7 years ago |
Gregory Nutt
|
e7c52bac60
Squashed commit of the following:
|
7 years ago |
Gregory Nutt
|
8198ba6a6d
This change renames all internal, private NuttX signal-related functions to use the prefix nxsig_ so that they cannot be confused with application interfaces that begin, primarily, with sig_
|
7 years ago |
Arjun Hary
|
b274a97840
Miscellaneous fixes from astyle tool.
|
7 years ago |
Gregory Nutt
|
dca77fa06a
sigtimedwait: When timer expires, up_unblock_task() is called. This is okay in the single CPU case because interrupts are disable in the timer interrupt handler. But it is insufficient in the SMP case. enter_ and leave_critical_section() must be called in order to manage spinlocks correctly.
|
7 years ago |
Gregory Nutt
|
74189d84e2
Cancellation points: Fix some backward logic in conditional compilation.
|
7 years ago |
Gregory Nutt
|
6997cda1b5
Grrr... cloned typos!
|
7 years ago |
Gregory Nutt
|
842ec7e612
ifdef out some non-reachable code
|
7 years ago |
Gregory Nutt
|
b52e4e5ecd
Move cancellation point definitions to their own header file.
|
7 years ago |
Gregory Nutt
|
bc3ca25cc7
Cancellation points: Close up some logic to eliminte some race conditions.
|
7 years ago |
Gregory Nutt
|
e3bbfa2d85
mq_send() was not setting the errno value on certain failures to allocate a message
|
8 years ago |
Gregory Nutt
|
368f241637
Correct some comments
|
8 years ago |
Gregory Nutt
|
6e3107650d
nuttx/sched: Replace irqsave() with enter_critical_section(); replace irqrestore() with leave_critical_section()
|
8 years ago |
Gregory Nutt
|
74db48202e
sched/: Replace explict references to g_readytorun with indirect references via the this_task() macro
|
8 years ago |
Gregory Nutt
|
849df03d22
Update dates on files modified for SIGEV_THREAD support
|
8 years ago |
Gregory Nutt
|
9835eeb181
signals: Basic framework to support SIGEV_THREAD
|
8 years ago |
Gregory Nutt
|
79d554939e
sched/: Fix some spacing issues
|
9 years ago |
Gregory Nutt
|
cb9e27c3b0
Standardize naming used for public data and function groupings
|
9 years ago |
Gregory Nutt
|
caea44a624
Fix a case in mq_timedsend() where the return errno value was being overwritten
|
9 years ago |
Gregory Nutt
|
4c6057eca1
mq_timedsend(): Do check for time errors if the message queue is not full. Noted by Freddie Chopin
|
9 years ago |
Gregory Nutt
|
ad05793c0f
msg type should be char * not void * in mq_send, mq_timedsend, mq_receive, and mq_timedreceive. Noted by Pierre-Noel Bouteville
|
10 years ago |
Gregory Nutt
|
fcfe877e96
Cosmetic update to comments
|
10 years ago |