Article View: borland.public.cppbuilder.nativeapi
Article #9462Re: How to find the number of threads an applications running..
From: Colin B Maharaj
Date: Fri, 09 Jul 2004 00:10
Date: Fri, 09 Jul 2004 00:10
12 lines
1567 bytes
1567 bytes
Why do yo not create your own thread tracking system (class) calling appropiate functions to inc/dec a reference counter and a name for your threads. i.e. anytine you create a thread you inc the reference counter and anytime it is destroyed, you dec it. Porahgiv Jeghav wrote: > BCB has "Ctrl+Alt+T" tool to display all the threads of the application > running in BCB environment. > How to implement similar function in a BCB application to display the number > of threads that application executing ? > >
Technical Details
Message-ID:
<40ede284$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40ec1e07@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,258da2749378c9f5 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Thu, 08 Jul 2004 20:10:44 -0400 From: Colin B Maharaj <noreply@myhost.com> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7a) Gecko/20040219 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: How to find the number of threads an applications running.. References: <40ec1e07@newsgroups.borland.com> In-Reply-To: <40ec1e07@newsgroups.borland.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 200.108.12.236 Message-ID: <40ede284$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1089331844 200.108.12.236 (8 Jul 2004 17:10:44 -0700) Lines: 12 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail