Changeset 77c5ddd4 in rtems for testsuites

Timestamp:
01/14/15 06:34:44 (9 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
6042fdb7
Parents:
125e23b
git-author:
Sebastian Huber <sebastian.huber@…> (01/14/15 06:34:44)
git-committer:
Sebastian Huber <sebastian.huber@…> (01/14/15 06:40:49)
Message:

smptests/smpmrsp01: Fix task delete race condition

Do not supsend self while waiting for termination since the
rtems_task_delete() may take place while the rtems_task_suspend() waits
for the Giant lock preventing delivery of the inter-processor interrupt.
The result is a suspended and terminated thread (this is a valid state,
but leads in this case to a test failure).

(No files)

Note: See TracChangeset for help on using the changeset viewer.