[tor-bugs] #3894 [Tor]: Fix compilation on FreeBSD 4

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Feb 12 18:39:17 UTC 2013


#3894: Fix compilation on FreeBSD 4
-----------------------+----------------------------------------------------
    Reporter:  nickm   |       Owner:                    
        Type:  defect  |      Status:  reopened          
    Priority:  normal  |   Milestone:  Tor: 0.2.4.x-final
   Component:  Tor     |     Version:  Tor: 0.2.3.25     
  Resolution:          |    Keywords:  tor-client        
      Parent:          |      Points:                    
Actualpoints:          |  
-----------------------+----------------------------------------------------

Comment(by grarpamp):

 I now think FreeBSD4 has only SMP and user pthreads, not kernel threads
 (and that those didn't come till FreeBSD5).
 I definitely remember seeing parent and child Tor processes with some Tor
 version maybe as far back as 0.2.0.x or farther. I'm not sure about taking
 load because I do recall always seeing nearly idle cpu time on one of the
 parent or child, though load was low anyways. Then something changed with
 Tor's CPU bits and it was back to one process.
 Fast forward a few years to yesterday's thought to get back to two
 processes as I'm now maxing out any single CPU.

 ./test
 test.util/fgets_eagain: SKIPPED
 util/threads: OK
 89 tests ok.  (1 skipped)

 If I knew the mechanism Tor used back then, or the release it changed in
 (?) I could play with an old version to compare behavior. Or I could work
 back down the majors trying the last minor of each.


 I'll see about fixing that include for sure.

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/3894#comment:20>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list