🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.multi-tier
Article #537

multi-thread problem

#537
From: Sunny Tsai
Date: Mon, 02 Jul 2001 08:17
12 lines
1271 bytes
Hi there!

I write a multi-thread program under win2k and bcb5, everything runs well,
but I found that the CPU (PIII 933) consumed 100% every second while I ran
my application, who can tell me how to write a low cpu consumption
application with multi-thread features.

I used the bcb5's new...(in "File" mennu) wizard and generate a new Thread
object to finish a multi-thread app. I set the thread priority to tpLow, but
had no effect.

Thanks to get help here!
Technical Details
Message-ID: <3b402e9c$1_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcd2b,3b7283f142170b3b,start
X-Google-Attributes: gidfcd2b,public
X-Google-ArrivalTime: 2001-07-02 01:30:51 PST
From: "Sunny Tsai" <hg.caisheng@szgas.com.cn>
Newsgroups: borland.public.cppbuilder.database.multi-tier
Subject: multi-thread problem
Date: Mon, 2 Jul 2001 16:17:51 +0800
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
NNTP-Posting-Host: 61.141.213.138
Message-ID: <3b402e9c$1_2@dnews>
X-Trace: dnews 994061980 61.141.213.138 (2 Jul 2001 01:19:40 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews