[tor-bugs] #6227 [Tor Relay]: util/threads testcase and starving workers

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Tue Jun 26 15:04:36 UTC 2012


#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


More information about the tor-bugs mailing list