anchor.diff:      {atomic, _} = mnesia:transaction(F),
       ok.
   
  -%%--------------------------------------------------------------------
  -%% Function: is_ready_for_checking(Id) -> bool()
  -%% Description: Attempt to mark the torrent for checking. If this
  -%%   succeeds, returns true, else false
  -%%--------------------------------------------------------------------
  +% @doc Attempt to mark the torrent for checking.
  +%  <p>If this succeeds, returns true, else false</p>
  +% @end
  +-spec is_ready_for_checking(integer()) -> boolean().
   is_ready_for_checking(Id) ->
       F = fun () ->
                   Q = qlc:q([TM || TM <- mnesia:table(tracking_map),
  
positive.code:     ok.
  
  %%====================================================================
  %% Internal functions
  %%====================================================================
  
  alter_map(TM, What) ->
      case What of
          {infohash, IH} ->
  
negative.code:         end,
      {atomic, T} = mnesia:transaction(F),
      T.
  
  %% =======================================================================
  
  init([]) ->
      {ok, #state{ monitoring = dict:new() }}.
  