🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #5103

Re: Indy AThread Question

#5103
From: Remy Lebeau (TeamB)
Date: Mon, 18 Oct 2004 05:16
16 lines
1528 bytes
"James" <jb9@btinternet.com> wrote in message
news:4172eeb4$1@newsgroups.borland.com...

> So a better way would perhaps be to store the OnExecute thread's
> thread id, and then send the OnExecute thread a 'thread message'
> (from my secondary thread) which it could pick up and send using
> AThread?

There is no reason why you cannot store the AThread pointer itself, just as
long as you are protecting it, that is all.  I would not recommend the
thread message approach because that does not well suit Indy's server design
in general.


Gambit
Technical Details
Message-ID: <417351b7$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <417256cf$1@newsgroups.borland.com> <4172b877$1@newsgroups.borland.com> <4172eeb4$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,67c4133e59baab76
X-Google-Attributes: gid11508e,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <417256cf$1@newsgroups.borland.com> <4172b877$1@newsgroups.borland.com> <4172eeb4$1@newsgroups.borland.com>
Subject: Re: Indy AThread Question
Date: Sun, 17 Oct 2004 22:16:58 -0700
Lines: 18
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: <417351b7$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1098076599 68.69.17.41 (17 Oct 2004 22:16:39 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!fr.ip.ndsoftware.net!npeer.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail