anchor.diff:      end.
   
   
  -%%% If a restart attempt failed, this message is sent via
  -%%% timer:apply_after(0,...) in order to give gen_server the chance to
  +%%% If a restart attempt failed, this message is cast
  +%%% from restart/2 in order to give gen_server the chance to
   %%% check it's inbox before trying again.
   -spec handle_cast({try_again_restart, child_id() | pid()}, state()) ->
   			 {'noreply', state()} | {stop, shutdown, state()}.
  
positive.code: 		    Id = if ?is_simple(State) -> Child#child.pid;
  			    true -> Child#child.name
  			 end,
  		    {ok, _TRef} = timer:apply_after(0,
                                                      ?MODULE,
                                                      try_again_restart,
                                                      [self(),Id]),
  		    {ok,NState2};
  		{try_again, NState2, #child{name=ChName}} ->
  		    {ok, _TRef} = timer:apply_after(0,
  						    ?MODULE,
  						    try_again_restart,
  						    [self(),ChName]),
  		    {ok,NState2};
  		Other ->
  		    Other
  
negative.code: check_childspecs(X) -> {error, {badarg, X}}.
  
  %%%-----------------------------------------------------------------
  %%% Called by restart/2
  -spec try_again_restart(SupRef, Child) -> ok when
        SupRef :: sup_ref(),
        Child :: child_id() | pid().
  