On 26/07/2016 19:20, Sebastian Huber wrote:
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.
---
Pavel, thanks for the excellent detail provided. I will try and expand
on a couple of parts being discussed.
On 27/07/2016 10:00, Pavel Pisa wrote:
On Wednesday 27 of July 2016 01:01:29 Saeed Ehteshamifar wrote:
1. How to generate *tar* array? Since on top of dl-tar.c it's been noted
that
Hello Saeed,
On Wednesday 27 of July 2016 01:01:29 Saeed Ehteshamifar wrote:
> Hello,
>
> Thanks Pavel for your answer. I tried to write an app myself that uses
> dynamic loading and I ended up with the following questions:
>
> 1. How to generate *tar* array? Since on top of dl-tar.c it's been
Hello,
Thanks Pavel for your answer. I tried to write an app myself that uses
dynamic loading and I ended up with the following questions:
1. How to generate *tar* array? Since on top of dl-tar.c it's been noted
that it's automatically generated. If I'm not wrong, by making a tar image,
RTEMS
The _Thread_Lock_acquire() function had a potentially infinite run-time
due to the lack of fairness at atomic operations level.
Update #2412.
Update #2556.
Update #2765.
---
cpukit/libmisc/monitor/mon-task.c| 7 +-
cpukit/posix/src/pthreadgetschedparam.c | 8 +-
Move the priority change due to priority interitance to the thread queue
enqueue operation to simplify the locking on SMP configurations.
Update #2412.
Update #2556.
Update #2765.
---
cpukit/score/include/rtems/score/coremuteximpl.h | 3 +
cpukit/score/include/rtems/score/threadimpl.h| 31
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.
---
cpukit/sapi/src/interrtext.c | 5 +-
https://lists.rtems.org/pipermail/devel/2016-July/015554.html
The SMP implementation turned out to be a bit more complicated. In addition
the test smptests/smpmutex02 revealed that the deadlock detection is essential
to avoid application caused deadlocks at SMP lock level.
Update #2412.
Update #2556.
Update #2765.
---
cpukit/score/include/rtems/score/threadimpl.h | 10 +
cpukit/score/src/threadchangepriority.c | 61 +++
2 files changed, 62 insertions(+), 9 deletions(-)
diff --git a/cpukit/score/include/rtems/score/threadimpl.h