(2018-02-18, 22:33)Steffen Wrote:Quote:I don't think you can multi thread the inline process it might even be slower because all threads still need to manipulate a single destination array/string list.
Well, that's how multithreading works.
The destination array should be "the set of already inlined files".
Multiple threads then can operate on multiple portions of DatVille, each one accessing and contributing to that array.
Of course, the access to that array (both read+write) must be protected by a semaphore (in C#: lock(...)).
Any thread that finds a part that is not yet inlined, will add it to that array so other threads will find it there.
The current build of MPDCenter is in testing and is by far quicker than the previous (current available) version. It works still without any multi-threading.
It still needs some tests to be stable in any case.
If there is someone who has a wish for a new function etc. please let me know within the next days, so I try to implement that in the next release.
I am open for any ideas/wishes.
cu
mikeheide