[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Thread: memory leak when using not detached thread?
From: |
Federico Montesino Pouzols |
Subject: |
Re: Thread: memory leak when using not detached thread? |
Date: |
Fri, 13 Dec 2002 12:26:11 +0100 |
User-agent: |
Mutt/1.4i |
On Wed, Dec 11, 2002 at 09:26:51AM +0100, Gernot Hillier wrote:
>
> Could you add a comment like (slightly modified)
>
> "Note: A thread cannot delete it's own context or join itself. To make a
> thread that is a self running object that self-deletes, one has to detach the
> thread by using detach() instead of run()."
>
> to the explanation of
>
> virtual void ost::Thread::final(void)?
>
It is in CVS. As suggested by Andras Vass, I have also added a
similar note to TCPSession::final.