anchor.diff:  %%------------------------------------------------------------------------------
   %% @private
   %%------------------------------------------------------------------------------
  +start_check() -> erlang:start_timer(?CHECK_ALIVE_INTERVAL, self(), check).
  +
  +%%------------------------------------------------------------------------------
  +%% @private
  +%%------------------------------------------------------------------------------
   start_port() ->
       PortOpts = [{packet, 2}, binary, exit_status, nouse_stdio],
       open_port({spawn, get_cmd()}, PortOpts).
  
positive.code: %%------------------------------------------------------------------------------
  %% @private
  %%------------------------------------------------------------------------------
  -spec fail_all(safeio:ioerror(), #state{}) -> #state{}.
  fail_all(E, State = #state{ pending = Ps }) ->
      lists:map(
        fun({_,P}) ->
  
negative.code:                 pending :: [{operation(), from()}],
                  req_start_time :: non_neg_integer() | no_req_start_time,
                  success_count :: integer(),
                  fail_count :: integer(),
                  timer :: reference()}).
  
  -define(NO_PENDING_REQUESTS(S), S = #state{pending = []}).
  
  