Bei Ausführung auf dem Hauptthread verwenden Sie keinen blockierenden Code.
You should not use blocking code when running on the main thread.
Datei- und Datenbankzugriff kann bei Verwendung vom Hauptthread aus fehlschlagen.
File and database access might fail if used from the main thread.
Gibt an, dass der Hauptthread beim Abrufen nie blockiert.
Indicates that the main thread never blocks while retrieving.
Verwenden Sie keinen blockierenden Code beim Ausführen im Hauptthread.
You should not use blocking code when running on the main thread.
Rufen Sie keine langfristigen Vorgänge im Hauptthread auf.
Don't call long-running operations in the main thread.
Der Verteiler kann den Hauptthread im Verteilerdienst nicht starten.
The dispatcher cannot start the main thread in the dispatcher service.
Dies ist i. d. R. der Hauptthread.
This is usually the main thread.
Rufen Sie task::wait nicht aus dem Hauptthread auf.
Don't call task::wait from the main thread
Wenn mehrere Fortsetzungsketten gleichzeitig ausgeführt werden, können sie ganz einfach den Hauptthread als Synchronisierungspunkt verwenden.
When multiple continuation chains are running at the same time, they can easily use the main thread as a synchronization point.
Rufen Sie Ansichtsmodellobjekte nur aus dem Hauptthread auf.
Call view model objects only from the main thread
Wie überprüft man, ob der aktuelle Thread kein Hauptthread ist?
How to check if current thread is not main thread
Wenn dieses Problem auftritt, der Hauptthread des Prozesses wird blockiert, und der Prozess beendet nicht.
When this issue occurs, the main thread of the process becomes blocked, and the process does not terminate.
Sobald der lang andauernde Vorgang abgeschlossen ist, geben die Worker-Threads die Ergebnisse als einen Rückruf an den Hauptthread zurück.
Once the long-running task is complete, the worker threads return the results as a callback to the main thread.