Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Netzwerke (https://www.delphipraxis.net/14-netzwerke/)
-   -   Delphi INDY - Threads (https://www.delphipraxis.net/8057-indy-threads.html)

malloc 27. Aug 2003 18:32


INDY - Threads
 
Hallo,

meine Frage bezieht sich auf die Threads welche INDY für jede Connection erstellt. Wenn ich aus diesen Threads herraus nun eine Funktion oder Prozedur aus einer anderen Unit aufrufe, läuft diese und alle Folgeprozeduren dann auch im Thread?

z.B.

Code:
procedure TForm1.IdTCPServerExecute(AThread: TIdPeerThread);
var
  sCommand: string;
begin
    with AThread.Connection do begin
    'werden alle Aufrufe von hier aus innerhalb des Threads behandelt?
    end;
  end;
end;
Wäre nett wenn mir hier jemand helfen könnte.


Alle Zeitangaben in WEZ +1. Es ist jetzt 02:38 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz