Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Netzwerke (https://www.delphipraxis.net/14-netzwerke/)
-   -   Delphi OnStart - Deadlock? (https://www.delphipraxis.net/3949-onstart-deadlock.html)

Evilboyz 8. Apr 2003 10:17


OnStart - Deadlock?
 
Hallo allerseits!

Ich hab mal eine eher theoretische Frage:
Wenn ich einen Standardsocket auf StThreadblocking setze und dann in den Methoden OnThreadStart und OnThreadEnd zum Beispiel Zeilen in ein TMemo einfüge, kann ich dann theoretisch Probleme mit gleichzeitigen Zugriffen bekommen oder wird das automatisch verhindert? Synchronize kann ich ja nur in der Thread Unit selbst anwenden, soweit ich das sehe!

Jens Schumann 20. Mai 2003 13:42

Hallo,
meines Wissens nicht. Da die Events noch Kontext des MainThreads ausgeführt werden.


Alle Zeitangaben in WEZ +1. Es ist jetzt 04:33 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