481 | | = == Semaphores and Mutexes === |
| 481 | = === Status ==== |
| 482 | |
| 483 | |
| 484 | Deletion of threads is not implemented. |
| 485 | |
| 486 | ==== Future Directions ==== |
| 487 | |
| 488 | |
| 489 | Implement the missing feature. The key problems are lock order reversal issues |
| 490 | (Giant vs. allocator lock). Self deletion imposes the problem that some thread |
| 491 | resources like the thread stack and the thread object must be freed by a second |
| 492 | party. On single processor configurations this was done with a hack that |
| 493 | doesn't work on SMP. See also [http://www.rtems.org/pipermail/rtems-devel/2013-July/003509.html Thread Life-Cycle Changes.] |
| 494 | |
| 495 | === Semaphores and Mutexes === |