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

The htmlnode is not thread safe.

Aug 1, 2010 at 4:55 AM
Edited Aug 1, 2010 at 5:04 AM

some times, one result will be missing when we update two htmlnodes in two parallel threads.


Parallel.ForEach(HtmlNodes,node=> node.SetAttributeValue("value","some text"));

if you want to see more detail code,you can get test code from