Boost logo

Boost Users :

From: Martin Brown (martin_w_brown_at_[hidden])
Date: 2002-02-27 12:10:58


Hi

There seems to be a missing '}' in
libs/thread/src/once.cpp when compiling on gcc-3.04 on
Redhat Linux 6.2. I added one and it seems to work.
 Not sure if it is in the right place.

Context diff:
*** once.cpp Thu Feb 7 15:33:15 2002
--- once.cpp.new Wed Feb 27 15:53:02 2002
***************
*** 55,62 ****
--- 55,63 ----
  {
      once_callback* cb =
reinterpret_cast<once_callback*>(pthread_getspecific(key));
      (**cb)();
  }
+ }
  #elif defined(BOOST_HAS_MPTASKS)
  void *remote_call_proxy(void *pData)
  {
      std::pair<void (*)(), boost::once_flag *>
&rData(*reinterpret_cast<std::pair<void (*)(),
boost::once_flag *> *>(pData));

Thanks for some great libraries!

Martin

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net