Почему однопоточная модель используется для обновления пользовательского интерфейса в качестве основного потока?

В Qt doc сказано:

As mentioned, each program has one thread when it is started. This thread is called the "main thread" (also known as the "GUI thread" in Qt applications). The Qt GUI must run in this thread.

Док Android говорит,

Like activities and the other components, services run in the main thread of the application process

И iOS,

It is strongly recommended not to update UI controls etc from a background thread (e.g. a timer, comms etc). This can be the cause of crashes which are sometimes very hard to identify. Instead use these to force code to be executed on the UI thread (which is always the “main” thread).

Почему они используют однопоточную модель для обновления пользовательского интерфейса?

Ответы на вопрос(1)

Ваш ответ на вопрос