[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #6227 [Tor Relay]: util/threads testcase and starving workers
#6227: util/threads testcase and starving workers
-----------------------+----------------------------------------------------
Reporter: weasel | Owner:
Type: defect | Status: needs_review
Priority: normal | Milestone: Tor: 0.2.3.x-final
Component: Tor Relay | Version: Tor: 0.2.3.17-beta
Keywords: | Parent:
Points: | Actualpoints:
-----------------------+----------------------------------------------------
Comment(by nickm):
Replying to [comment:7 weasel]:
> No, 0.2.3 only is fine. And yes, I checked if we had somehow reverted
that change, but we didn't.
Okay; will merge.
> Are you sure your change in the win32 block is sane?
I believe so. (That's not a win32 block; that's an #ifndef _WIN32 block,
so it's everything *but* win32.) The purpose of that select there is to
make it so the main loop polls periodically rather than busy-waiting...
but a 10 microsecond delay is insanely low, and might as well be a busy-
wait.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6227#comment:8>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs