Page 1 of 1

Custom Copy multithreading multivolume verification

Posted: 07 Jun 2021 08:16
by thecon
Hi!

It would be cool if custom copy's verification employed multithreading for verifying files on different volumes. Perhaps with an option to turn it on and off.

That way, the file is copied, then one thread verifies the file from the 1st volume, and the second thread verifies the file from the 2nd volume, all in parallel. When both verification threads finish, they compare their outcome.

As it is right now, the file copies, then a verification in done on the first file, and when it finishes, verification is done on the destination file.

With my idea, copying with verification would become faster. Of course, for same-volume copying, multithreading verification is not expected to have any gains.

Cheers!

Re: Custom Copy multithreading multivolume verification

Posted: 07 Jun 2021 09:22
by RalphM
Unfortunately one of the limitations of VB6 is that there is no multi-threading available (correct me if I'm wrong here) thus such idea would require to incorporate yet another helper exe to hand this job off to.

Re: Custom Copy multithreading multivolume verification

Posted: 07 Jun 2021 09:38
by highend
XYcopy is written in VB6 (https://www.virustotal.com/gui/file/a2a ... 38/details)
and it's correct, no multithreading supported...

Re: Custom Copy multithreading multivolume verification

Posted: 07 Jun 2021 11:44
by thecon
Understandable. Thanks!