gcc/ada/
* libgnarl/a-tasini.ads (Set_Initialization_Handler): Update
comments.
type Initialization_Handler is access procedure;
procedure Set_Initialization_Handler (Handler : Initialization_Handler);
- -- Set the global task initialization handler to Handler
+ -- Set the global task initialization handler to Handler.
+ -- Note that only tasks created after this procedure is called will trigger
+ -- a call to Handler. You can use Ada's elaboration rules and pragma
+ -- Elaborate_All, or the pragma Linker_Constructor to ensure this
+ -- procedure is called early.
private
pragma Favor_Top_Level (Initialization_Handler);