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 年之前 |
Gregory Nutt
|
d2a11cdea5
sched/signal/sig_timedwait.c: Remove unnecessary disble of pre-emption.
|
6 年之前 |
Gregory Nutt
|
b54ffe858a
Standardization of some function headers.
|
6 年之前 |
Gregory Nutt
|
7cf88d7dbd
Make sure that labeling is used consistently in all function headers.
|
6 年之前 |
Gregory Nutt
|
da50646bcf
sched/wdog: wd_start() is an internal OS function and should not set the errno value. Reviewed and updated every call to wd_start() to verify if return value is used and if so if the errno value is accessed.
|
6 年之前 |
Gregory Nutt
|
3c3c712887
nxsig_timedwait: Add logic to suppress the wait if there is a pending cancellation.
|
7 年之前 |
Gregory Nutt
|
fd58bfd9c0
sched/signal: Add logic to wake up a thread that is waiting on a signal if it is canceled.
|
7 年之前 |
Gregory Nutt
|
4810499d3a
Squashed commit of the following:
|
7 年之前 |
Gregory Nutt
|
fdd0dcc0b6
This commit adds internal versions of the signal interfaces:
|
7 年之前 |
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 年之前 |
Arjun Hary
|
b274a97840
Miscellaneous fixes from astyle tool.
|
7 年之前 |
Gregory Nutt
|
6b6d7ce9b9
sig_timedwait: Pending signal structure used after it has been releasd. From anonymous Bitbucket Issue 59.
|
7 年之前 |
Gregory Nutt
|
094795e0ed
Review parameter usage in sigtimedwait(); update some comments.
|
7 年之前 |
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 年之前 |
Gregory Nutt
|
b52e4e5ecd
Move cancellation point definitions to their own header file.
|
7 年之前 |
Gregory Nutt
|
bc3ca25cc7
Cancellation points: Close up some logic to eliminte some race conditions.
|
7 年之前 |
Gregory Nutt
|
7fce8022c6
Finishes all cancellation point logic
|
7 年之前 |
Gregory Nutt
|
6e3107650d
nuttx/sched: Replace irqsave() with enter_critical_section(); replace irqrestore() with leave_critical_section()
|
8 年之前 |
Gregory Nutt
|
74db48202e
sched/: Replace explict references to g_readytorun with indirect references via the this_task() macro
|
8 年之前 |
Gregory Nutt
|
79d554939e
sched/: Fix some spacing issues
|
9 年之前 |
Gregory Nutt
|
cb9e27c3b0
Standardize naming used for public data and function groupings
|
9 年之前 |
Gregory Nutt
|
768d892188
Add si_errno to siginfo_t
|
9 年之前 |
Gregory Nutt
|
3adcae8ffb
Update the type passed to watchdog timer handlers. Using uint32_t is a problem for 64-bit machines.
|
9 年之前 |
Gregory Nutt
|
ad9b3f8ab8
wdog.h does not contain any application interface, only internal OS interface. Further, it is non-standard. Move wdog.h from include/ to include/nuttx. For the same reason, move the description of the watchdog timer interfaces from the Users Guide to the Porting Guide.
|
10 年之前 |
Gregory Nutt
|
d798dd37a7
Replace os_internal.h with sched/sched.h in files that actually reference something in sched.h
|
10 年之前 |
Gregory Nutt
|
d4b56eb3cc
Move clock functions from sched/ to sched/clock
|
10 年之前 |
Gregory Nutt
|
cb79407ced
Move all pthread files from sched/ to sched/pthread
|
10 年之前 |
Gregory Nutt
|
0385a00a60
Move signal-related files from sched/ to sched/signal
|
10 年之前 |