anchor.diff:  %% @hidden
   %%--------------------------------------------------------------------
   handle_cast(clear_all, State) ->
  -    Local = node(),
  -    [global:del_lock({ChannelId, Node}, [Node|nodes()]) || {ChannelId, Node, _Pids} <- ets:tab2list(global_locks), Node == Local],
  +    ets:delete_all_objects(?MODULE),
       {noreply, State};
   
   handle_cast(_Msg, State) ->
  
positive.code: %% Description: Handling call messages
  %% @hidden
  %%--------------------------------------------------------------------
  handle_call({lock, ChannelId}, _From, State) ->
      Res = global:set_lock({ChannelId, node()}, [node()|nodes()], 0),
      {reply, Res, State};
  
  handle_call(_Msg, _From, State) ->
      {reply, {error, invalid_call}, State}.
  
negative.code: %% @hidden
  %%--------------------------------------------------------------------
  init([]) ->
      ets:new(?MODULE, [protected, named_table, set]),
      {ok, []}.
  
  %%--------------------------------------------------------------------
  %% Function: %% handle_call(Request, From, State) -> {reply, Reply, State} |
  