bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug in C++ STL crashes on different SMP architectures


From: Eray Ozkural (exa)
Subject: Re: Bug in C++ STL crashes on different SMP architectures
Date: Thu, 01 Feb 2001 12:19:42 +0200

Frederic Olivie wrote:
> 
> Hi,
> 
> In November 2000, I found a post from a guy named maciek Kozyrczak :
> 
> http://mail.gnu.org/pipermail/bug-glibc/2000-November/002118.html
> 
> We just ran into the same exact problem.
> 
> The basic_string set of templates is NOT mt_safe.
> 

Have you read the design document for SGI STL? You should know
that making the container classes mt_safe in some idiot proof
way would yield a severe performance penalty.

Now, send a minimal piece of code so that I can comment on it.
In particular, only the memory allocation is synced by default,
except that you will have to use synchronization constructs to capture
application semantics. This isn't Java.

Best,

-- 
Eray (exa) Ozkural
Comp. Sci. Dept., Bilkent University, Ankara
e-mail: address@hidden
www: http://www.cs.bilkent.edu.tr/~erayo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]