anchor.diff:  %%
   %% %CopyrightBegin%
   %%
  -%% Copyright Ericsson AB 1996-2017. All Rights Reserved.
  +%% Copyright Ericsson AB 1996-2019. All Rights Reserved.
   %%
   %% Licensed under the Apache License, Version 2.0 (the "License");
   %% you may not use this file except in compliance with the License.
  
positive.code: 
  get_names() ->
      ets:select(global_names, 
                 ets:fun2ms(fun({Name, Pid, Method, _RPid, _Ref}) -> 
                                    {Name, Pid, Method} 
                            end)).
  
  
negative.code: delete_lock(Ref, S0) ->
      Locks = pid_locks(Ref),
      F = fun({ResourceId, LockRequesterId, PidRefs}, S) -> 
                  {Pid, Ref} = lists:keyfind(Ref, 2, PidRefs),
                  remove_lock(ResourceId, LockRequesterId, Pid, PidRefs, true, S)
          end,
      lists:foldl(F, S0, Locks).
  