Xiang Xiao
|
beb745ef92
sched/pthread: Implement pthread_attr_[get|set]detachstate
|
4 years ago |
chao.an
|
7ce2b3fa74
libc/pthread: Implement pthread_condattr_[g|s]etclock
|
4 years ago |
Xiang Xiao
|
33ec242caf
Implement proposed POSIX _clockwait variants of existing _timedwait functions
|
4 years ago |
chao.an
|
3fbdc213b7
syscall/prctl: fix PR_SET_NAME failure if without <pid> arg
|
4 years ago |
chao.an
|
b83b83bf51
pthread/mutex: add PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP support
|
4 years ago |
Xiang Xiao
|
a2d924eea4
syscall: Fix typo error in cvs and header file
|
4 years ago |
Xiang Xiao
|
cde88cabcc
Run codespell -w with the latest dictonary again
|
4 years ago |
Juha Niskanen
|
fd462d5ce2
sched/pthread, Documentation: fix pthread_key_delete, pthread_self and pthread_yield documentation and some comments.
|
5 years ago |
Gregory Nutt
|
dbd1bb1f1e
All function pointer types should be prefaced by the qualifier CODE (unless the callable function is known to reside in RAM, then it should be FAR).
|
5 years ago |
Gregory Nutt
|
84a57f8fa0
Fix several ZNeo compile issues. There are more. Pthreads: Fix a could of places where FAR was added when it is not appropriate. This matters to ZNeo which depends on definitions of NEAR and FAR points.
|
5 years ago |
Joao Matos
|
8f5a94c5e5
include/pthread.h and libs/libcpthread: Fixed pthread_attr_get/setstacksize param type to size_t.
|
5 years ago |
Joao Matos
|
08ff68edec
sched/pthread: Added non-standard pthread_get_stackaddr_np() and pthread_get_stacksize_np().
|
5 years ago |
Gregory Nutt
|
b2f110e0b0
include/pthread.h and libs/libc/pthread/pthread_spinlock.c: Add a very preliminary implementation of the new POSIX pthread_spinlock_* interfaces. This feature is marked EXPERIMENTAL. There are usage model issues to be examined and there are also architectural issues that currently limit the implemantion to the FLAT build (that is, however, fixable when the APIs are needed.
|
5 years ago |
Gregory Nutt
|
c7cc6bab96
included/pthreads, sched/pthreads, and Documetions: Updates after review of last PR.
|
5 years ago |
Leif Jakob
|
58e387fc6f
Merged in leif_jakob/nuttx/pthread_mutex_timedlock (pull request #830)
|
5 years ago |
Xiang Xiao
|
43d47a66c5
include/pthread.h and signal.h: Avoid redefinition of types
|
5 years ago |
xuanlin
|
2c93467436
pthreads: Add support static pthread stack. Add standard pthread_attr_setstack() and pthread_attr_getstack(). In all cases where the stack is released, add check to see which allocator must be used to free the stack: The user or the kernel allocator.
|
6 years ago |
Mark Schulte
|
35ca733108
pthread.h: Fix rwlock initializer
|
7 years ago |
Gregory Nutt
|
dea251783a
pthread.h: Remove duplicate, possible erroneous definitino of PTHREAD_MUTEX_INITIALIZER that crept in with some recent changes.
|
7 years ago |
Mark Schulte
|
2b1ca79b4b
pthread rwlock bugfixes
|
7 years ago |
Gregory Nutt
|
b631dc886f
Remove CONFIG_PTHREAD_RWLOCK. Rwlock interfaces built unconditionally.
|
7 years ago |
Mark Schulte
|
7bb26d2615
pthreads: Adding rwlock implementation
|
7 years ago |
Jussi Kivilinna
|
1879f5127b
Fix PTHREAD_MUTEX_INITIALIZER which was not updated with last mutex changes.
|
7 years ago |
Gregory Nutt
|
b07d3fc305
Rename CONFIG_MUTEX_TYPES to CONFIG_PTHREAD_MUTEX_TYPES
|
7 years ago |
Gregory Nutt
|
f2f798cb29
pthread mutexes: Finish logic to support configuration mutex robustness.
|
7 years ago |
Gregory Nutt
|
666208cf23
pthread mutexes: Add option to support both unsafe and robust mutexes via pthread_mutexattr_get/setrobust().
|
7 years ago |
Gregory Nutt
|
8b3c554e45
pthreads: Add a configuration option to disable robust mutexes and revert to the traditional unsafe mutexes.
|
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
|
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 years ago |