|
From: Christoph B. <bar...@or...> - 2006-09-01 08:49:03
|
Am Freitag, 1. September 2006 06:17 schrieb kei...@te...:
> Hi.
...
> Can this leak report be safely suppressed?
I guess yes.
But besides that your programm has a severe bug. I wonder that it does not
crash. This is a corrected main:
int main()
{
pthread_t tid;
if (0 == pthread_create(&tid, NULL, thread1, 0))
pthread_join(tid, 0);
return 0;
}
Christoph
|