diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-07-26 10:34:21 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-07-27 10:55:30 +0200 |
commit | d79df38c2bea50112214ade95776cb90d693e390 (patch) | |
tree | 77bcc6ae76dde57c449d808ef2cce318cd198b06 /testsuites/sptests/spmutex01/spmutex01.doc | |
parent | score: Turn thread lock into thread wait lock (diff) | |
download | rtems-d79df38c2bea50112214ade95776cb90d693e390.tar.bz2 |
score: Add deadlock detection
The mutex objects use the owner field of the thread queues for the mutex
owner. Use this and add a deadlock detection to
_Thread_queue_Enqueue_critical() for thread queues with an owner.
Update #2412.
Update #2556.
Close #2765.
Diffstat (limited to 'testsuites/sptests/spmutex01/spmutex01.doc')
-rw-r--r-- | testsuites/sptests/spmutex01/spmutex01.doc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuites/sptests/spmutex01/spmutex01.doc b/testsuites/sptests/spmutex01/spmutex01.doc index 7951024cf6..7bcb850f7d 100644 --- a/testsuites/sptests/spmutex01/spmutex01.doc +++ b/testsuites/sptests/spmutex01/spmutex01.doc @@ -4,6 +4,10 @@ test set name: spmutex01 directives: + - mtx_lock() + - mtx_unlock() + - pthread_mutex_lock() + - pthread_mutex_unlock() - rtems_semaphore_create() - rtems_semaphore_obtain() - rtems_semaphore_release() @@ -12,3 +16,4 @@ concepts: - Ensure that priority inheritance mechanism works. - Ensure that thread priority queueing discipline works. + - Ensure that deadlock detection works in various combinations. |