|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2002-10-17 12:00:13
FYI...
attached mail follows:
I use BCC 5.5
I downloaded boost 1.29.0.
I build the library with bjam -sTOOLS=borland.
The thread library didn't work.
I compiled and linked this source code:
#include <boost/thread/thread.hpp>
#include <iostream>
void hello()
{
std::cout << "Hello world, I'm a thread!" << std::endl;
}
int main()
{
boost::thread thrd(&hello);
thrd.join();
return 0;
}
When I runned the program I received this message:
The instruction at "0x00cbfe64" referenced memory at "0x00401150". The
memory could not be "written".
But if I use boost 1.28.0 with the same source code and compiler
options the program works.
Some suggestions ?
Thank you in advance
Andrea Minuto
[ Send an empty e-mail to c++-help_at_[hidden] for info ]
[ about comp.lang.c++.moderated. First time posters: do this! ]
-- David Abrahams dave_at_[hidden] * http://www.boost-consulting.com Building C/C++ Extensions for Python: Dec 9-11, Austin, TX http://www.enthought.com/training/building_extensions.html
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk