> > The program will core after about 10 seconds, every time.
> > It would appear that there is an issue with some low-level allocator in the
> > STL as shipped in 4.x.
>
> Dude. The STL implementation that ships with g++ isn't thread safe.
> In fact, if you read the STL portion of the C++ sp
James FitzGibbon wrote:
>
> The program will core after about 10 seconds, every time.
> It would appear that there is an issue with some low-level allocator in the
> STL as shipped in 4.x.
Dude. The STL implementation that ships with g++ isn't thread safe.
In fact, if you read the STL portio
We're having a problem with threaded programs that use the STL. Given the
following program:
--START--
#include
#include
typedef map mymap_t;
#ifdef GLOBLOCK
pthread_mutex_t glob_mut;
#endif
void *run(void *) {
while (1) {
string f("");
#ifdef GLOBLOCK
3 matches
Mail list logo