summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/once.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* score: Avoid some deadlocks in _Once()Sebastian Huber2019-02-181-43/+74
| | | | | | | | Recursive usage of the same pthread_once_t results now in a deadlock. Previously, an error of EINVAL was returned. This usage scenario is invalid according to the POSIX pthread_once() specification. Close #3334.
* score: Use self-contained API mutexSebastian Huber2017-12-041-0/+12
| | | | | | | | | | Use a self-contained recursive mutex for API_Mutex_Control. The API mutexes are protected against asynchronous thread cancellation. Add dedicated mutexes for libatomic and TOD. Close #2629. Close #2630.
* posix: Optimize pthread_once_tSebastian Huber2017-10-051-1/+1
| | | | | | Reduce size of pthread_once_t and make it zero-initialized. Update #3142.
* score: Unify pthread and gxx_wrapper once and move to score.Christian Mauderer2014-03-211-0/+56