Opened on 03/02/18 at 10:12:31
Closed on 03/08/18 at 05:56:53
#3318 closed enhancement (fixed)
Improve INTERNAL_ERROR_THREAD_EXITTED to show the id and thread name
Reported by: | Matthew J Fletcher | Owned by: | Sebastian Huber |
---|---|---|---|
Priority: | low | Milestone: | 5.1 |
Component: | bsps | Version: | 5 |
Severity: | normal | Keywords: | |
Cc: | Blocked By: | ||
Blocking: |
Description
It might be more helpful i the case of a thread exit to output some information about that thread to make tracking it down simpler.
This example works ok.
static void thread_exitted_print_info(rtems_tcb *tcb)
{
printf("Thread exited: %s (id %d)\n", tcb->Object.name, tcb->Object.id)
}
/* In your configuration: */
#define CONFIGURE_INITIAL_EXTENSIONS \
{ .thread_exitted = thread_exitted_print_info }
Change History (2)
comment:1 Changed on 03/07/18 at 06:50:44 by Sebastian Huber
Component: | rtems → bsps |
---|---|
Milestone: | → 5.1 |
Owner: | set to Sebastian Huber |
Status: | new → accepted |
Version: | → 5 |
comment:2 Changed on 03/08/18 at 05:56:53 by Sebastian Huber <sebastian.huber@…>
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Note: See
TracTickets for help on using
tickets.
In d39cc068/rtems: