Main thread
Meaning in mobile app development, with examples
In mobile app development, main thread means: The thread on which an app draws its interface and handles user input; if slow work runs there, the app freezes and stops responding.
In Turkish: ana iş parçacığı, main thread, UI thread
How it is used
On Android also called the UI thread. Developers move network calls, database work and image processing off the main thread, while UI updates must happen on it. Android throws NetworkOnMainThreadException for network calls there, and blocking it too long causes an ANR.
Example sentences
The list freezes because we decode large images on the main thread.
UI updates must run on the main thread, otherwise the app may crash.
Common collocations
- on the main thread
- off the main thread
- block the main thread
- main thread checker
Related terms
This word in other fields
The same English word can have a different meaning in another field:
More terms: App Lifecycle and Architecture
Practise with graded reading
Reading at the right level is the fastest way to make new words stick. Pick free English books by level:
