This is the mail archive of the
pthreads-win32@sources.redhat.com
mailing list for the pthreas-win32 project.
Re: Unix vs. Windows Posix threads !
Your memory leak is probably due to the handle leak. This could be
pthread related or not. Handle leaks can be difficult to detect. I
recommend simply reviewing your code thoroughly. Without seeing your
code I cannot suggest anything more.
Good luck.
Lavanya Swetharanyan wrote:
Thanks. I ran the application and opened the task manager as
suggested. The thread count is constant at 6. The handle though are
increasing continuously. Even when the delta memory is 0 the handle
count is increasing. The delta mem varies from 0-4-8 K every time the
screen refreshes on its own. What does this increasing number of
handles mean ?. Is it causing the memory leak ?. I am also using
windows sockets apart from pthreads.