MRE's and multithreading

    Date: 03/08/08 (C Sharp)    Keywords: no keywords

    I have worker threads where the running state is controlled by a ManualResetEvent object. It worked fine until I added a method call while the MRE is Reset (threads paused) and just before it is Set back. Now it appears that the threads don't resume. Is manipulating a "suspended" object messing up the MRE? Apparently it is; I would just like some insight.

    Thanks.

    Source: http://community.livejournal.com/csharp/94601.html

« Show/Hide password || BackgroundWorker »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home