Forum: Cross-Platform-Entwicklung
Delphi
by LTE5,
17. Dez 2017
ForceQueue schiebt aber trotzdem erst in die Warteschlange und wartet nicht auf das Ende so wie Synchronize oder? Ist gerade etwas verwirrend.
Forum: Cross-Platform-Entwicklung
Delphi
by LTE5,
17. Dez 2017
Meinst du also, man sollte nur noch TThread.ForceQueue (statt TThread.Queue) verwenden, egal ob ich im Hauptthread oder in einem eigenen TThread oder TTask bin?
Forum: Cross-Platform-Entwicklung
Delphi
by LTE5,
17. Dez 2017
Ist ForceQueue also dasselbe wie Queue aus dem Hauptthread?
Oder anders gefragt: da wo ich Queue aus dem Hauptthread aufrufe, sollte besser ForceQueue genutzt werden?