This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
STL classes and exceptions
- From: thomas joseph <thomascanny at yahoo dot co dot nz>
- To: libstdc++ at gcc dot gnu dot org
- Date: Fri, 24 Jan 2003 17:58:46 +1300 (NZDT)
- Subject: STL classes and exceptions
Hi All,
I am new to c++ development and have few questions
about using STL with g++.
1) I found out that the methods like push in Stack
raise exceptions when it goes out of memory. Is there
any way to supress these exceptions ?
2) I am maintaing a list that is accessed by more
than
one thread. If I protect it's access by a pthread
mutex, will that suffice the synchronization ?
Can somebody point me to the documentation of the
issues of "STL with threads".
Thanks in advance,
Thanks and Regards,
--thomas
http://movies.yahoo.com.au - Yahoo! Movies
- What's on at your local cinema?