Article View: borland.public.cppbuilder.nativeapi
Article #14846active thread list
From: Boguslaw Fries
Date: Fri, 01 Aug 2003 06:35
Date: Fri, 01 Aug 2003 06:35
11 lines
1329 bytes
1329 bytes
Hello, I have an application with multiple threads ( about 5000 ) Threads hardly use semaphores, waiting mechanismus and so on I want to properly ends my application using simplest way. I need a function, which says me: 1. Is any thread still active - if yes which is their HANDLE 2. Kill them when is sitll active Could I use for it "tlhelp32.h" ? Any sugestions? Boguslaw Fries
Technical Details
Message-ID:
<3f2a0a30$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,30ec7a3d72e3790e,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-07-31 23:40:04 PST From: "Boguslaw Fries" <B.Fries@luca-online.de> Newsgroups: borland.public.cppbuilder.nativeapi Subject: active thread list Date: Fri, 1 Aug 2003 08:35:25 +0200 Lines: 13 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 217.225.45.188 Message-ID: <3f2a0a30$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1059719728 217.225.45.188 (31 Jul 2003 23:35:28 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail