Re: [PATCH v2 5/5] score: Add deadlock detection

2016-07-26 Thread Chris Johns
On 27/07/2016 15:45, Sebastian Huber wrote: On 27/07/16 06:51, Chris Johns wrote: +#if defined(RTEMS_SMP) +/* + * A global registry of active thread queue links is used to provide deadlock + * detection on SMP configurations. This is simple to implement and no + * additional storage is requi

Re: [PATCH v2 5/5] score: Add deadlock detection

2016-07-26 Thread Sebastian Huber
On 27/07/16 06:51, Chris Johns wrote: +#if defined(RTEMS_SMP) +/* + * A global registry of active thread queue links is used to provide deadlock + * detection on SMP configurations. This is simple to implement and no + * additional storage is required for the thread queues. The disadvanta

Re: [PATCH v2 5/5] score: Add deadlock detection

2016-07-26 Thread Chris Johns
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. --- cpukit/sapi/src/i

[PATCH v2 5/5] score: Add deadlock detection

2016-07-26 Thread Sebastian Huber
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 +- cpu