Click here to Skip to main content
15,887,915 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Using find_if STL function Pin
ComplexLifeForm25-Feb-08 0:57
ComplexLifeForm25-Feb-08 0:57 
GeneralRe: Using find_if STL function Pin
Stuart Dootson25-Feb-08 3:02
professionalStuart Dootson25-Feb-08 3:02 
GeneralRe: Using find_if STL function Pin
ComplexLifeForm25-Feb-08 18:22
ComplexLifeForm25-Feb-08 18:22 
GeneralRe: Using find_if STL function Pin
Johann Gerell14-May-08 21:54
Johann Gerell14-May-08 21:54 
GeneralATL and javascript Pin
whizdom16-Feb-08 21:35
whizdom16-Feb-08 21:35 
GeneralRe: ATL and javascript Pin
Nathan Holt at EMOM18-Feb-08 11:48
Nathan Holt at EMOM18-Feb-08 11:48 
GeneralRe: ATL and javascript Pin
whizdom22-Feb-08 7:43
whizdom22-Feb-08 7:43 
QuestionPlease enlighten me on STL iterators and CriticalSection locking Pin
Kosta Cherry13-Feb-08 21:15
Kosta Cherry13-Feb-08 21:15 
I use STL at work, but "lazy" way, i.e. it works, and who cares about performance, right Smile | :) ? So I know only basics about STL. Now I'm currently writing heavily multithreaded program for my own good. For the sake of fast development at this stage I opted to use STL. And then I noticed during debugging, that STL iterators call Critical Section locking, which causes a lot of slow down. I then delved (very briefly) into STL code and saw that they are really using CS for the iterators. I immediately dropped STL from the project, thanks to the fact that I use only arrays, not lists or maps, and there are plenty straight-forward-no-hidden-things implementations of templated arrays out there. But now I'm curious: when exactly STL iterators use CS locking? Is it for non-const iterators only? Is it for in-between-threads access? Or always? I'm too lazy and too busy to dive deep into STL code to check this, and it's not relevant to the project anymore, but out of curiosity it is very interesting, and might be useful for others who strive for performance and use STL.

Thank you in advance!

P.S. Forgot to mention: I use MS implementation of STL (VC++ 2005).

SY-
Kosta.
GeneralRe: Please enlighten me on STL iterators and CriticalSection locking Pin
Andy Moore14-Feb-08 6:11
Andy Moore14-Feb-08 6:11 
GeneralRe: Please enlighten me on STL iterators and CriticalSection locking Pin
Kosta Cherry14-Feb-08 11:49
Kosta Cherry14-Feb-08 11:49 
GeneralUsing an activex control in an ATL project Pin
zon_cpp11-Feb-08 20:33
zon_cpp11-Feb-08 20:33 
GeneralRe: Using an activex control in an ATL project Pin
Stuart Dootson11-Feb-08 23:38
professionalStuart Dootson11-Feb-08 23:38 
GeneralATL: IDispEvent*Impl for n instances [modified] Pin
wickdom8-Feb-08 3:59
wickdom8-Feb-08 3:59 
GeneralRe: ATL: IDispEvent*Impl for n instances Pin
Stuart Dootson8-Feb-08 8:52
professionalStuart Dootson8-Feb-08 8:52 
GeneralRe: ATL: IDispEvent*Impl for n instances Pin
wickdom8-Feb-08 12:03
wickdom8-Feb-08 12:03 
Generalefficiency copy vector into a second vector Pin
manustone4-Feb-08 2:20
manustone4-Feb-08 2:20 
GeneralRe: efficiency copy vector into a second vector Pin
Steve Echols4-Feb-08 18:03
Steve Echols4-Feb-08 18:03 
QuestionRe: efficiency copy vector into a second vector Pin
CPallini4-Feb-08 22:28
mveCPallini4-Feb-08 22:28 
GeneralRe: efficiency copy vector into a second vector Pin
manustone8-Feb-08 3:25
manustone8-Feb-08 3:25 
GeneralRe: efficiency copy vector into a second vector Pin
Andy Moore14-Feb-08 6:13
Andy Moore14-Feb-08 6:13 
QuestionTBSTYLE_EX_DRAWDDARROWS resize problem??? Pin
Rajesh_Yadav_8029-Jan-08 0:51
Rajesh_Yadav_8029-Jan-08 0:51 
Generalerror C2259: 'ATL::CComObject<base>' : cannot instantiate abstract class</base> Pin
zakkas248322-Jan-08 20:44
zakkas248322-Jan-08 20:44 
GeneralRe: error C2259: 'ATL::CComObject' : cannot instantiate abstract class Pin
Nathan Holt at EMOM23-Jan-08 5:18
Nathan Holt at EMOM23-Jan-08 5:18 
GeneralShell context menu Pin
nazovi11-Jan-08 3:48
nazovi11-Jan-08 3:48 
GeneralRe: Shell context menu Pin
led mike11-Jan-08 5:13
led mike11-Jan-08 5:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.