mldonkey-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-users] [patch #4576] BT: remove sources when file is cancelled


From: z
Subject: [Mldonkey-users] [patch #4576] BT: remove sources when file is cancelled
Date: Sat, 29 Oct 2005 20:38:00 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; InfoPath.1)

URL:
  <http://savannah.nongnu.org/patch/?func=detailitem&item_id=4576>

                 Summary: BT: remove sources when file is cancelled
                 Project: mldonkey, a multi-networks file-sharing client
            Submitted by: zet
            Submitted on: Sat 10/29/05 at 20:37
                Category: None
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open

    _______________________________________________________

Details:

When cancelling a bt download, it seems that its hashtable of sources is kept
around until a restart.  This clears it immediately so they can be GCd.  (Also
clears them when sharing of the file stops)

It also adds Gc stats to the mem_stats, and commonFile stats with source
counts to "mem_stats #" where # is > 0.





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat 10/29/05 at 20:37  Name: remove_bt_sources.diff  Size: 3.94KB   By:
zet

<http://savannah.nongnu.org/patch/download.php?item_id=4576&item_file_id=5398>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?func=detailitem&item_id=4576>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]