#30187: 100% cpu usage in winthreads tor_cond_wait ----------------------------------+------------------------------------ Reporter: bolvan | Owner: ahf Type: defect | Status: assigned Priority: High | Milestone: Tor: 0.4.0.x-final Component: Core Tor/Tor | Version: Tor: 0.3.5.8 Severity: Normal | Resolution: Keywords: windows 035-backport | Actual Points: Parent ID: | Points: Reviewer: | Sponsor: ----------------------------------+------------------------------------
Comment (by nickm): One possible fix here would be to use ConditionVariable instead; it's been in Windows since Vista. If we don't that route, here is a part that looks suspicious to me: the generation count getting stuck at 28 suggests to me that we are using generation wrong. In any case, we should really be either waking up or sleeping with each time through the loop, I think. -- Ticket URL: <https://trac.torproject.org/projects/tor/ticket/30187#comment:7> Tor Bug Tracker & Wiki <https://trac.torproject.org/> The Tor Project: anonymity online
_______________________________________________ tor-bugs mailing list tor-bugs@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs