Newsgroups : Borland : borland.public.delphi.rtl.win32 : 2008 Jul : [FastMM] Is ScanMemoryPoolForCorruptions multithread safe ?

www.cryer.info
Managed Newsgroup Archive

[FastMM] Is ScanMemoryPoolForCorruptions multithread safe ?

Subject:[FastMM] Is ScanMemoryPoolForCorruptions multithread safe ?
Posted by:"Francois Piette [ICS & Midware]" (francois.piet..@overbyte.be)
Date:Wed, 30 Jul 2008 16:44:55

Is ScanMemoryPoolForCorruptions multithread safe ?
I read in the source code: "It can be called at any time, but is only
available in FullDebugMode.".
What happend if a thread execute ScanMemoryPoolForCorruptions while another
thread is doing memory alloc/free ? Could it cause a false alarm about
corruption ?

--
francois.piette@overbyte.be
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
http://www.overbyte.be

Replies:

www.cryer.info
Managed Newsgroup Archive