docs: public <R> R accessContext(ContextAccess<C,R> access)
      {
          contextLock.lock();
          try
          {
              return access.access(context);
          }
          finally
          {
              contextLock.unlock();
          }
      }