Gregory Nutt
|
b54ffe858a
Standardization of some function headers.
|
6 年之前 |
Gregory Nutt
|
7cf88d7dbd
Make sure that labeling is used consistently in all function headers.
|
6 年之前 |
Arjun Hary
|
b274a97840
Miscellaneous fixes from astyle tool.
|
7 年之前 |
Gregory Nutt
|
5e8037390c
Fix problems in last commit noted by Jeongchan Kim: last change returned -EINVAL vs EINVAL; Treat the case where the mutex is already unlocked just like the case where the mutex is held by another thread -- return EPERM.
|
7 年之前 |
Gregory Nutt
|
0c3aef9591
Trivial typo fix
|
7 年之前 |
Gregory Nutt
|
6618336a39
pthread_mutex_unlock(): Missing check for the case where pthread_mutex_lock() is called when the mutex is not locked. In that case, it would increment the underlying semaphore avove 1. This is the fix for a problem noted by initialkjc@yahoo.com.
|
7 年之前 |
Gregory Nutt
|
b07d3fc305
Rename CONFIG_MUTEX_TYPES to CONFIG_PTHREAD_MUTEX_TYPES
|
7 年之前 |
Gregory Nutt
|
f2f798cb29
pthread mutexes: Finish logic to support configuration mutex robustness.
|
7 年之前 |
Gregory Nutt
|
8b3c554e45
pthreads: Add a configuration option to disable robust mutexes and revert to the traditional unsafe mutexes.
|
7 年之前 |
Gregory Nutt
|
34c5e1c18f
Minor cleanup from recent changes.
|
7 年之前 |
Gregory Nutt
|
6e623ce06f
pthreads: Partial implementation of final part of robust mutexes: Keep list of all mutexes held by a thread in a list in the TCB.
|
7 年之前 |
Gregory Nutt
|
363403fb1f
pthreads: Add more robustness characteristics: pthread_mutex_lock() and trylock() will now return EOWNERDEAD if the mutex is locked by a thread that no longer exists. Add pthread_mutex_consistent() to recover from this situation.
|
7 年之前 |
Gregory Nutt
|
5fb85451cb
Update some comments
|
7 年之前 |
Gregory Nutt
|
f3ec664f63
Debug output level (error, warning, info) is now selectable on a per-subsystem, per-driver basis
|
8 年之前 |
Gregory Nutt
|
13cac3b592
sched/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition.
|
8 年之前 |
Gregory Nutt
|
a1469a3e95
Add CONFIG_DEBUG_ERROR. Change names of *dbg() * *err()
|
8 年之前 |
Gregory Nutt
|
3994b094c5
Remove some empty C file section comments; Update some text in TODO file
|
8 年之前 |
Gregory Nutt
|
79d554939e
sched/: Fix some spacing issues
|
9 年之前 |
Gregory Nutt
|
cb9e27c3b0
Standardize naming used for public data and function groupings
|
9 年之前 |
Juha Niskanen
|
d16053c33c
sched/pthread: Use -1 instead of 0 as PID for unclaimed mutexes
|
9 年之前 |
Gregory Nutt
|
b4423c1eed
Make some file section headers more consistent with standard
|
9 年之前 |
Gregory Nutt
|
0f318e9249
Move watchdog functions from sched/ to sched/wdog
|
10 年之前 |
Gregory Nutt
|
cb79407ced
Move all pthread files from sched/ to sched/pthread
|
10 年之前 |