helo frnds,
I am using RHEL5 and C lang for development.
I am getting some memory leak problem in pthread.
I hav developed a program which creates two threads for listening purpose on two diff ports. both the child threads are doing same job but on diff port no.
I am using pthread_create(), pthread_join() and pthread_kill() thread routines in my program. and wen I checked my program using valgrind tool it gives me some memory leak.
The memory leak occures in libpthread.
so is there any routine to cleanup the thread memory [eg. like pthread_destory()]
following are some lines of out put of valgrind