Subject: [Boost-bugs] [Boost C++ Libraries] #3104: Preprocessing with Boost::wave crashes when calling from multiple threads
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-05-28 09:09:38
#3104: Preprocessing with Boost::wave crashes when calling from multiple threads
----------------------------------------+-----------------------------------
Reporter: www.brutaltruth.ru | Owner: hkaiser
Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: wave
Version: Boost 1.39.0 | Severity: Problem
Keywords: wave spirit multithreading |
----------------------------------------+-----------------------------------
1) While using boost::wave from within multiple threads - it crashes.
2) When using from one thread only - everything is OK.
3) I have defined:
#define BOOST_WAVE_SUPPORT_THREADING 1
#define BOOST_SUPPORT_THREADS
in my stdafx.h file
I am using MSVS 2008 (CreateThread in a for loop) and MSVS 2010 (ppl test
using parallel_for loop)
Please see my attached sample file. write included sample1.h - sample4.h
files to c:\test\samples directory (or change path in code).
Thank you.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3104> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:00 UTC