This project has moved and is read-only. For the latest updates, please go here.

Using HAP with multiple threads.

Topics: Developer Forum, Project Management Forum, User Forum
Feb 23, 2015 at 3:41 PM

I have noticed that there is no way to use HAP with multiple threads, since I need to have different HtmlNode.ElementFlags loaded for each thread, because every thread will be parsing a different kind of document.

I have checked the code and all these methods and variables are static, making them not usable in a multi-threaded application.

So my guess is I will have to make a sightly change to the code to correct this issue. However, I tried finding the code latest HAP source code, but I was able to find only the version 1.4.0 in the CodePlex repository. I know that the latest version is 1.4.9 according to NuGet packages. Can you guys shed some light or advices on how should I fix this.

Thanks in Advance.