Ignore:
Timestamp:
Jan 18, 2011, 11:44:36 PM (11 years ago)
Author:
jordan
Message:

cleanup of who calls the libtransmission thread locking functions.

In some cases we were calling them from deep inside libtransmission, when they should have been called directly from the public-visible API functions: tr_torrentWebSpeeds_KBps(), tr_torrentPeers(), tr_torrentTrackers().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.h

    r11599 r11706  
    296296{
    297297    tr_sessionLock( tor->session );
     298}
     299
     300static inline tr_bool tr_torrentIsLocked( const tr_torrent * tor )
     301{
     302    return tr_sessionIsLocked( tor->session );
    298303}
    299304
Note: See TracChangeset for help on using the changeset viewer.