[omniORB] memory leak in omni_thread
Andreas Koehler
Andreas.Koehler@vs.dasa.de
Thu, 20 May 1999 09:50:43 +0200 (MEST)
On Wed, 19 May 1999, David Riddoch wrote:
> Looking again, I think it is because you are creating undetached threads.
> This means that when they complete they wait around for you to 'join'
> them.
>
> Try this:
>
> void thread_adapter (void* param) {
> }
>
> Otherwise the same ...
>
> This will create undetached threads that should clean up properly when
> they complete.
Thanx - it works!
Andreas