Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r72120 - trunk/libs/thread/src/pthread
From: neil_at_[hidden]
Date: 2011-05-23 09:24:17


Author: neilgroves
Date: 2011-05-23 09:24:16 EDT (Mon, 23 May 2011)
New Revision: 72120
URL: http://svn.boost.org/trac/boost/changeset/72120

Log:
[boost][thread] - Resolved Ticket 5170 by making the extern "C" functions static.
Text files modified:
   trunk/libs/thread/src/pthread/thread.cpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/libs/thread/src/pthread/thread.cpp
==============================================================================
--- trunk/libs/thread/src/pthread/thread.cpp (original)
+++ trunk/libs/thread/src/pthread/thread.cpp 2011-05-23 09:24:16 EDT (Mon, 23 May 2011)
@@ -50,7 +50,7 @@
 
             extern "C"
             {
- void tls_destructor(void* data)
+ static void tls_destructor(void* data)
                 {
                     boost::detail::thread_data_base* thread_info=static_cast<boost::detail::thread_data_base*>(data);
                     if(thread_info)
@@ -111,7 +111,7 @@
     {
         extern "C"
         {
- void* thread_proxy(void* param)
+ static void* thread_proxy(void* param)
             {
                 boost::detail::thread_data_ptr thread_info = static_cast<boost::detail::thread_data_base*>(param)->self;
                 thread_info->self.reset();


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk