Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Delphi-News aus aller Welt (https://www.delphipraxis.net/58-delphi-news-aus-aller-welt/)
-   -   Delphi: when calling TThread.Synchronize, ensure the synchronised method handles exce (https://www.delphipraxis.net/201987-delphi-when-calling-tthread-synchronize-ensure-synchronised-method-handles-exce.html)

DP News-Robot 17. Sep 2019 06:10

Delphi: when calling TThread.Synchronize, ensure the synchronised method handles exce
 
Since about a decade, TThread*has a few overloaded [WayBack] Synchronize*methods which all allow some specified synchronised method to run in the context of the main thread: [WayBack]*TThread.Synchronize Method (TThreadMethod) [WayBack]*TThread.Synchronize Method (TThreadProcedure) [WayBack]*TThread.Synchronize Method (TThread, TThreadMethod) [WayBack]*TThread.Synchronize Method (TThread, TThreadProcedure) Any exceptions raised in that methods are caught using [WayBack]*System.AcquireExceptionObject and re-

Weiterlesen...


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