bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Deleting a non-autofree thread


From: Federico Montesino Pouzols
Subject: Re: Deleting a non-autofree thread
Date: Tue, 22 Oct 2002 22:01:10 +0200
User-agent: Mutt/1.4i

        This is strange, what system does this problem occur on? Could
you post your code?

On Mon, Oct 21, 2002 at 04:05:14PM -0400, Chad Pettit wrote:
> Yes.  A thread that does not do a delete this in its final method.
> 
> Currently, I am doing a delete thread once the main thread retrieves 
> some information off of the processing thread.  This; however, only 
> works for the first 512 threads.  After that I am getting a resource 
> allocation error.  To me, this indicates that the thread is not being 
> completely destroyed, since the thread limit should not come into play 
> as long as the threads are being cleaned up properly.
> 
> Federico Montesino Pouzols wrote:
> 
> >On Mon, Oct 21, 2002 at 11:11:54AM -0400, Chad Pettit wrote:
> > 
> >
> >>What is the proper way to delete a non-autofree thread?  
> >>   
> >>
> >
> >     Do you mean a thread that does not do 'delete this' in its
> >final() method? Normally, threads can be deleted using 'delete
> >thread' if they are dynamically created.
> >
> > 
> >
> >>I have tried 
> >>several combo's with endStream(), terminate(), endSocket() and others 
> >>and nothing appears to be working.  I get an out of resource error when 
> >>I would try to allocate another thread.  I am using TCSession.
> >>
> >>
> >>
> >>_______________________________________________
> >>Bug-commoncpp mailing list
> >>address@hidden
> >>http://mail.gnu.org/mailman/listinfo/bug-commoncpp
> >>   
> >>
> >
> >
> >_______________________________________________
> >Bug-commoncpp mailing list
> >address@hidden
> >http://mail.gnu.org/mailman/listinfo/bug-commoncpp
> >
> > 
> >




reply via email to

[Prev in Thread] Current Thread [Next in Thread]