Algorithms critical sections?

Roberto Diaz rdiazmartin@vivaldi.dhis.org
Wed Jun 13 10:52:00 GMT 2001


Just a humble question (I hope dont bother you too much since I see here
real STL hackers).

Must I treat STL algorithms callings as critical sections of code in a
multithread environment?

I mean:

	get_lock();
	call_a_STL_ALGORITHM(...);
	release_lock();

Thank you!!

Regards

Roberto

------------------------------------------------------------------------
Roberto Diaz <rdiazmartin@vivaldi.dhis.org>
http://vivaldi.dhis.org
Powered by GNU running on a Linux kernel.
Powered by Debian (The real wonder)

Concerto Grosso Op. 3/8 A minor
Antonio Vivaldi (so... do you need beautiful words?)
------------------------------------------------------------------------



More information about the Libstdc++ mailing list