STL classes and exceptions

thomas joseph thomascanny@yahoo.co.nz
Fri Jan 24 04:58:00 GMT 2003


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?



More information about the Libstdc++ mailing list