🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Thread and memory

#9375
From: Remy Lebeau (TeamB)
Date: Mon, 19 Jul 2004 16:57
17 lines
1272 bytes
"Steve Aletto" <steve_alettoANTI@SPAMhotmail.com> wrote in message
news:40fbd474@newsgroups.borland.com...

> void __fastcall CMyThread::Execute(void)
> {
>     while (!Terminated)
>     {
>         // Process here
>     }
> }

You are assuming that Sara wants the code to loop.  That may not be the
actual case.  Looping is not a requirement for threads.


Gambit
Technical Details
Message-ID: <40fbfd3d@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <40fb3d08@newsgroups.borland.com> <40fbd474@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,d35c53850c011fac
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <40fb3d08@newsgroups.borland.com> <40fbd474@newsgroups.borland.com>
Subject: Re: Thread and memory
Date: Mon, 19 Jul 2004 09:57:21 -0700
Lines: 19
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <40fbfd3d@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1090256189 68.69.17.41 (19 Jul 2004 09:56:29 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail