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

Re: libstc++2.10-dev & threads

On Tue, Jul 11, 2000 at 11:30:21PM +0200, Russell Coker wrote:
> It sounds like you are trying to free a string in two threads at the same
> time.  It seems that the STL is designed around letting you do the
> thread-safe part yourself so there's no locking being done when it's not
> necessary.  My multi-threaded STL programs work quite well.

No. Definately not.  Like I said, I was getting SEGV during the _construction_
of a string ON THE STACK.  So it was definately NOT shared between two

Event the STL containers are not reentrant - they don't support simultaneous
access to methods from different threads.

BTW - the stl-manual package is also quite out of date...

References I've turned up:




            Linux, because I'd like to *get there* today
Reply with subject 'request key' for GPG public key.  KeyID 0xB4E24219

Reply to: