Article View: borland.public.cppbuilder.database.multi-tier
Article #543Re: multi-thread problem
From: Indra Gunawan
Date: Fri, 06 Jul 2001 02:45
Date: Fri, 06 Jul 2001 02:45
21 lines
1693 bytes
1693 bytes
perhaps you are using "hard" loop within synchronize block. usually it makes windows hard to divide its processes thus makes your process the only working process while blocking the others. "Sunny Tsai" <hg.caisheng@szgas.com.cn> wrote in message news:3b402e9c$1_2@dnews... > 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:
<3b496a9a$1_2@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!news-was.dfn.de!news-koe1.dfn.de!RRZ.Uni-Koeln.DE!nntp.CS.Uni-Magdeburg.De!PeerFeed.KWeb.on.ca!dnewsReferences:
<3b402e9c$1_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcd2b,3b7283f142170b3b X-Google-Attributes: gidfcd2b,public X-Google-ArrivalTime: 2001-07-09 01:31:59 PST From: "Indra Gunawan" <gunawanindra@hotmail.com> Newsgroups: borland.public.cppbuilder.database.multi-tier References: <3b402e9c$1_2@dnews> Subject: Re: multi-thread problem Date: Fri, 6 Jul 2001 09:45:02 +0700 Lines: 23 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 NNTP-Posting-Host: 202.95.130.226 Message-ID: <3b496a9a$1_2@dnews> X-Trace: dnews 994667162 202.95.130.226 (9 Jul 2001 01:26:02 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!news.maxwell.syr.edu!news-was.dfn.de!news-koe1.dfn.de!RRZ.Uni-Koeln.DE!nntp.CS.Uni-Magdeburg.De!PeerFeed.KWeb.on.ca!dnews