This is the mail archive of the mailing list for the pthreas-win32 project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Unix vs. Windows Posix threads !

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: [] On Behalf Of Jef Gearhart
Sent: Thursday, July 08, 2004 3:31 AM
To: Lavanya Swetharanyan
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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]