This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]