2 -- { dg-options "-gnatws" }
4 package body Synchronized1
6 Refined_State
=> (State
=> Curr_State
)
8 type Reactor_State
is (Stopped
, Working
) with Atomic
;
10 Curr_State
: Reactor_State
11 with Async_Readers
, Async_Writers
;
13 procedure Force_Body
is null;