[Ace-users] ACE Threads & Freeing Mismatched Memory Error!
jayaraghavendran at gmail.com
Wed Aug 8 12:25:38 CDT 2007
Please find the description of the problem below:
ACE VERSION: 5.5
HOST MACHINE and OPERATING SYSTEM: Windows XP
COMPILER : Compiler with VC7.1 IDE
I get a Freeing Mismatched memory error when I use ACE_Threads in my
I am creating few threads using ACE_Thread_Manager's spawn/spawn_n
function. My thread function is of type ACE_THR_FUNC and it returns 0
on exit. But, when I run my code using Rational Purify, it gives a
Freeing Mismatched Memory error in thread_adapter.cpp file of ACE at
line 151. Strangely the allocation location is also the same.I just
use the wait function of thread manager to wait for the threads to
complete. Am I missing something here? Should I use some other
function to exit the thread or something? Please help.
Thanks in Advance!
More information about the Ace-users