4 procedure Loop_Optimization24
is
8 raise Constraint_Error
;
11 type Thread_Name_Ptr
is access constant String;
12 type Callback_Ptr
is access procedure;
14 type Callback_Information
is record
15 Name
: Thread_Name_Ptr
;
19 type Callback_List
is array (Positive range <>) of Callback_Information
;
22 := (1 => (Proc
=> Callback
'access, name
=> new String'("Callback")),
23 2 => (Proc => Callback'access, name => new String'("Callback")));
26 for Index
in Cbs
'Range loop
28 if Cbs
(Index
).proc
/= null then
32 when Constraint_Error
=> null;