← Back to team overview

linuxdcpp-team team mailing list archive

[Bug 674816] Re: share rehashing system should be updated

 

well, the first couple comments were instances where something should
have worked, but didn't and was worked around instead - i felt it was
better to make a note of it rather than pretend it hadn't happened.  as
to the deallocation part, i'm honestly not sure how that should be coded
within the existing dcpp::Thread framework, since it does need to be
deallocated, but the thread would potentially still be using it as it
gets deallocated... a simple join() wouldn't work as the change requests
are blocking... so i left it as is for someone who knows more about it
to take care of....

-- 
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to DC++.
https://bugs.launchpad.net/bugs/674816

Title:
  share rehashing system should be updated

Status in DC++:
  New

Bug description:
  currently the share rescan/rehashing system is designed such that it re-scans the entire directory tree after a certain amount of time.  instead dc++ should use the ReadDirectoryChangesW windows API command to be instantly notified by windows when files are created or modified, removing the need to scan entirely except for on startup.  see http://www.codeguru.com/forum/showthread.php?t=436716 for a simplified code sample.





References