Unix vs. Windows Posix threads !
Kok YihTzye-CYK011
yihtzye.kok@motorola.com
Wed Jul 7 20:34:00 GMT 2004
I believe the problem is not from pthread library. As I don't have leaking problem with pthread.
It could be your code or WinSock.
-----Original Message-----
From: pthreads-win32-owner@sources.redhat.com [mailto:pthreads-win32-owner@sources.redhat.com] On Behalf Of Jef Gearhart
Sent: Thursday, July 08, 2004 3:31 AM
To: Lavanya Swetharanyan
Cc: pthreads-win32@sources.redhat.com
Subject: 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.
>
More information about the Pthreads-win32
mailing list