🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #10289

Re: Thread creation error: not enough memory

#10289
From: Lothar
Date: Thu, 22 Apr 2004 08:56
40 lines
2217 bytes
and how do I reexecute a thread which was used before? Execute() is not 
possible.

Remy Lebeau (TeamB) schrieb:

>"Lothar" <Lothar.Huppertz@gmx.de> wrote in message
>news:4086ed6a$1@newsgroups.borland.com...
>
>  
>
>>It's not more than 10 threads at a time.
>>    
>>
>
>Are you terminating and creating new threads over and over?  If so, you
>should consider caching and reusing threads.  It is expensive on system
>resources to destroy and recreate threads.
>
>Do your threads have dynamically allocated memory/resources?  If so, are you
>freeing them?
>
>Have you checked your program for memory/resource leaks using any one of a
>number of tools designed for that?  Have you enabled CodeGuard?
>
>  
>
>>And if that's the problem the error message should be different.
>>    
>>
>
>No, it should not be.  The error message is accurate, as it is displaying
>the actual error that the OS itself is reporting as being the problem of the
>failure.
>
>
>Gambit
>
>
>  
>
Technical Details
Message-ID: <4087889d@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4086696d$1@newsgroups.borland.com> <40867831@newsgroups.borland.com> <408698f3@newsgroups.borland.com> <4086abc6$1@newsgroups.borland.com> <4086ed6a$1@newsgroups.borland.com> <4086fa2b$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,c8565ce6e82c46dd
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-04-22 02:09:35 PST
Date: Thu, 22 Apr 2004 10:56:56 +0200
From: Lothar <Lothar.Huppertz@gmx.de>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; de-DE; rv:1.4) Gecko/20030619 Netscape/7.1 (ax)
X-Accept-Language: de-DE, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Thread creation error: not enough memory
References: <4086696d$1@newsgroups.borland.com> <40867831@newsgroups.borland.com> <408698f3@newsgroups.borland.com> <4086abc6$1@newsgroups.borland.com> <4086ed6a$1@newsgroups.borland.com> <4086fa2b$1@newsgroups.borland.com>
In-Reply-To: <4086fa2b$1@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 80.133.132.32
Message-ID: <4087889d@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1082624157 80.133.132.32 (22 Apr 2004 01:55:57 -0700)
Lines: 41
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail