anchor.diff:      {reply, Reply, StateName, State}.
   
   %%--------------------------------------------------------------------
  -%% Function: 
  +%% Function:
   %% handle_info(Info,StateName,State)-> {next_state, NextStateName, NextState}|
  -%%                                     {next_state, NextStateName, NextState, 
  +%%                                     {next_state, NextStateName, NextState,
   %%                                       Timeout} |
   %%                                     {stop, Reason, NewState}
   %% Description: This function is called by a gen_fsm when it receives any
  
positive.code: 
  waiting_check(token, S) ->
      ok = serializer:release_token(),
      {next_state, started, S}.
  
  started(stop, S) ->
      {next_state, stopped, S}.
  
  stopped(start, S) ->
      {next_state, started, S}.
  
  
  %%--------------------------------------------------------------------
  %% Function:
  %% state_name(Event, From, State) -> {next_state, NextStateName, NextState} |
  %%                                   {next_state, NextStateName, 
  %%                                     NextState, Timeout} |
  %%                                   {reply, Reply, NextStateName, NextState}|
  %%                                   {reply, Reply, NextStateName, 
  %%                                    NextState, Timeout} |
  %%                                   {stop, Reason, NewState}|
  %%                                   {stop, Reason, Reply, NewState}
  
negative.code:     {next_state, StateName, State}.
  
  %%--------------------------------------------------------------------
  %% Function:
  %% handle_sync_event(Event, From, StateName,
  %%                   State) -> {next_state, NextStateName, NextState} |
  %%                             {next_state, NextStateName, NextState,
  %%                              Timeout} |
  %%                             {reply, Reply, NextStateName, NextState}|
  %%                             {reply, Reply, NextStateName, NextState,
  %%                              Timeout} |
  %%                             {stop, Reason, NewState} |
  %%                             {stop, Reason, Reply, NewState}
  