Gregory Nutt
|
b54ffe858a
Standardization of some function headers.
|
6 years ago |
Gregory Nutt
|
7cf88d7dbd
Make sure that labeling is used consistently in all function headers.
|
6 years ago |
Gregory Nutt
|
9568600ab1
Squashed commit of the following:
|
7 years ago |
Gregory Nutt
|
a8708424c2
pthread_trylock: Fixes a problem in pthread_trylock() noted by initialkjc@yahoo.com. When CONFIG_PTHREAD_MUTEX_UNSAFE=y, the special return value EAGAIN was not being detected due to differences in reporting of returned values.
|
7 years ago |
Juha Niskanen (Haltian)
|
b4747286b1
Add logic to disable cancellation points within the OS. This is useful when an internal OS function that is NOT a cancellation point calls an OS function which is a cancellation point. In that case, irrecoverable states may occur if the cancellation is within the OS.
|
7 years ago |
Gregory Nutt
|
34c5e1c18f
Minor cleanup from recent changes.
|
7 years ago |
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 years ago |
Gregory Nutt
|
2c37d369ab
pthread: Fix return value of pthread_give/takesemaphore(). Add option to pthread_takesemaphore to ignore EINTR or not.
|
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
|
a0f567f4a3
Update TODO, cosmetic changes, spelling -- US English spells it canceled and canceling vs cancelled and cancelling. No idea why.
|
7 years ago |
Gregory Nutt
|
a76e729b0d
Trivial, cosmetic
|
7 years ago |
Gregory Nutt
|
7fce8022c6
Finishes all cancellation point logic
|
7 years ago |
Gregory Nutt
|
13cac3b592
sched/: Change some *err() message to *info() messages if what was a *dbg() message does not indicate and error condition.
|
8 years ago |
Gregory Nutt
|
a1469a3e95
Add CONFIG_DEBUG_ERROR. Change names of *dbg() * *err()
|
8 years ago |
Gregory Nutt
|
3994b094c5
Remove some empty C file section comments; Update some text in TODO file
|
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 |
Juha Niskanen
|
d16053c33c
sched/pthread: Use -1 instead of 0 as PID for unclaimed mutexes
|
9 years ago |
Gregory Nutt
|
b4423c1eed
Make some file section headers more consistent with standard
|
9 years ago |
Gregory Nutt
|
0f318e9249
Move watchdog functions from sched/ to sched/wdog
|
10 years ago |
Gregory Nutt
|
cb79407ced
Move all pthread files from sched/ to sched/pthread
|
10 years ago |