Anthony,<br><br>What can I do to get 2309 closed?�� ( <a href="https://svn.boost.org/trac/boost/ticket/2309">https://svn.boost.org/trac/boost/ticket/2309</a> )<br><br>Thanks,<br>SB<br><br><div class="gmail_quote">On Tue, Feb 9, 2010 at 2:11 PM, Scott Bailey <span dir="ltr">&lt;<a href="mailto:Bailey@insanegenius.org">Bailey@insanegenius.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Anthony,<br><br>Ticket 2309 already existed in Trac.� I updated it slightly and added my patch.<br>
<br>See: <a href="https://svn.boost.org/trac/boost/ticket/2309#comment:3" target="_blank">https://svn.boost.org/trac/boost/ticket/2309#comment:3</a><br>
<br>Is this likely to be in 1.43?� What can I do to further help?<br><br>Thanks,<br>SB<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Thu, Feb 4, 2010 at 1:02 AM, Anthony Williams <span dir="ltr">&lt;<a href="mailto:anthony@justsoftwaresolutions.co.uk" target="_blank">anthony@justsoftwaresolutions.co.uk</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div>On 03/02/10 23:13, Scott Bailey wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Here is the setup:<br>
<br>
MyCommon.so<br>
- this lib contains some basic classes, one of which (baseTRx) has a<br>
boost::thread.<br>
- this lib includes boost_system and boost_thread using the<br>
--whole-archive flag (linux) and equivalent for darwin and win<br>
 � � �- this was done to minimize the number of files the customer would<br>
receive, among other reasons...<br>
MyTRx.so<br>
- this lib contains a class derived from baseTRx (myTRx).<br>
- links to MyCommon<br>
MyEXE<br>
- this contains main.<br>
- links to MyCommon<br>
- loads MyTRx at run time.<br>
- creates an instance od myTRx.<br>
- signals MyEXE (via interupt()) when its time to cleanly shut down<br>
<br>
Using GCC 4.2 w/ -fvisibility=hidden, thread_interrupted isn&#39;t being<br>
caught in myTRx since it&#39;s being thrown from a different so w/ hidden<br>
visibility.<br>
</blockquote>
<br></div>
OK, makes sense.<div><br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
The fix for this is:<br>
 � � #define BOOST_THREAD_DECL __attribute__ ((visibility(&quot;default&quot;)))<br>
when gcc has visibility.<br>
<br>
<br>
Am I correct? �If so, I&#39;ll write the defect and work on the patch....<br>
</blockquote>
<br></div>
If that works, write it up and I&#39;ll patch boost.thread<br>
<br>
Anthony<br>
-- <br>
Author of C++ Concurrency in Action � � <a href="http://www.stdthread.co.uk/book/" target="_blank">http://www.stdthread.co.uk/book/</a><br>
just::thread C++0x thread library � � � � � � <a href="http://www.stdthread.co.uk" target="_blank">http://www.stdthread.co.uk</a><br>
Just Software Solutions Ltd � � � <a href="http://www.justsoftwaresolutions.co.uk" target="_blank">http://www.justsoftwaresolutions.co.uk</a><br>
15 Carrallack Mews, St Just, Cornwall, TR19 7UL, UK. Company No. 5478976<br>
_______________________________________________<br>
threads-devel mailing list<br>
<a href="mailto:threads-devel@lists.boost.org" target="_blank">threads-devel@lists.boost.org</a><br>
<a href="http://lists.boost.org/mailman/listinfo.cgi/threads-devel" target="_blank">http://lists.boost.org/mailman/listinfo.cgi/threads-devel</a><br>
</blockquote></div><br><br clear="all"><br></div></div>-- <br><font color="#888888">Scott Bailey<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Scott Bailey<br>