Dear Boosters,

I found the following problems in Boost.thread library:

i) Linux with KAI C++, Intel C++

On Linux, BOOST_HAS_PTHREADS macro is defined only if we use gcc
(config/compiler/gcc.hpp), but it's not defined for other compilers
(KAI, Intel, etc).  I found that boost.thread compiles successfully by
the latter compilers if I defined BOOST_HAS_PTHREADS macro (and
BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE) by hand, and all the examples
worked fine.  Is there any reason why these macros are not defined for
these compilers??

ii) Compaq Tru64 with Compaq C++ and SGI IRIX with MIPSPro Compiler

The example program for recursive mutex (libs/thread/example/
recursive_mutex.cpp) compiles on these platforms, but it crashes or
ends up with deadlock if I try to run it.  At the moment, I'm not sure
where the problem is in recursive mutex implementation.  If I undefine 
BOOST_HAS_PTHREAD_MUTEXATTR_SETTYPE, it works without any problem.

Synge Todo
[EMAIL PROTECTED]
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to