* ada-tasks.c (task_states,long_task_states): Add new states

Activating and Acceptor_Delay_Sleep.  Update the description
            of state Acceptor_Sleep.
This commit is contained in:
Joel Brobecker 2009-03-12 22:53:38 +00:00
parent 2ab1c2d936
commit 680f3fadee
2 changed files with 17 additions and 5 deletions

View File

@ -1,3 +1,9 @@
2009-03-12 Joel Brobecker <brobecker@adacore.com>
* ada-tasks.c (task_states,long_task_states): Add new states
Activating and Acceptor_Delay_Sleep. Update the description
of state Acceptor_Sleep.
2009-03-12 Jonas Maebe <jonas.maebe@elis.ugent.be> (obvious change)
Fix a build failure on Darwin following some changes in

View File

@ -49,7 +49,9 @@ enum task_states
Timer_Server_Sleep,
AST_Server_Sleep,
Asynchronous_Hold,
Interrupt_Server_Blocked_On_Event_Flag
Interrupt_Server_Blocked_On_Event_Flag,
Activating,
Acceptor_Delay_Sleep
};
/* A short description corresponding to each possible task state. */
@ -58,7 +60,7 @@ static const char *task_states[] = {
N_("Runnable"),
N_("Terminated"),
N_("Child Activation Wait"),
N_("Accept Statement"),
N_("Accept or Select Term"),
N_("Waiting on entry call"),
N_("Async Select Wait"),
N_("Delay Sleep"),
@ -69,7 +71,9 @@ static const char *task_states[] = {
"",
"",
N_("Asynchronous Hold"),
""
"",
N_("Activating"),
N_("Selective Wait")
};
/* A longer description corresponding to each possible task state. */
@ -78,7 +82,7 @@ static const char *long_task_states[] = {
N_("Runnable"),
N_("Terminated"),
N_("Waiting for child activation"),
N_("Blocked in accept statement"),
N_("Blocked in accept or select with terminate"),
N_("Waiting on entry call"),
N_("Asynchronous Selective Wait"),
N_("Delay Sleep"),
@ -89,7 +93,9 @@ static const char *long_task_states[] = {
"",
"",
N_("Asynchronous Hold"),
""
"",
N_("Activating"),
N_("Blocked in selective wait statement")
};
/* The index of certain important fields in the Ada Task Control Block