BIND 10 #345: remove dependency on pthreads from asio

BIND 10 Development do-not-reply at isc.org
Tue Sep 21 04:11:52 UTC 2010


#345: remove dependency on pthreads from asio
-------------------------------+--------------------------------------------
      Reporter:  jinmei        |        Owner:  jreed
          Type:  enhancement   |       Status:  new  
      Priority:  minor         |    Milestone:       
     Component:  build system  |   Resolution:       
      Keywords:                |    Sensitive:  0    
Estimatedhours:  0.0           |        Hours:  0    
      Billable:  1             |   Totalhours:  0    
      Internal:  0             |  
-------------------------------+--------------------------------------------

Comment(by jinmei):

 Replying to [ticket:345 jinmei]:
 > Right now we need to link some tests explicitly with libpthreads even if
 we currently don't use threads.
 >
 > I believe I figured out why this happened, and will propose a change to
 eliminate the dependency.

 Please review branches/trac345 (r2990).

 threads were necessary in asio/asio/detail/tss_ptr.hpp as a result of
 instantation of io_service.  We didn't need to link libpthread for
 b10-auth because other library (e.g. libsqlite3) implicitly required it.

 I confirmed that the patch worked on bind10.isc.org (and that build failed
 on that machine without this patch and without linking libpthread).

 This is the proposed changelog entry:
 {{{
   98.   [build]         jinmei
         Disable threads in ASIO to minimize build time dependency.
         (Trac #345, rTBD).
 }}}

-- 
Ticket URL: <https://bind10.isc.org/ticket/345#comment:1>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list