Skip to content

Commit 293a4b1

Browse files
committed
Content: Thread Management (Added Q & A) - What is the difference between asynchronous and synchronous task?
1 parent deb238f commit 293a4b1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ Use the Table of Contents to practice and test your knowledge. It doesn't show t
4949
- What is the difference between a struct and a class?
5050
- What is the difference between implicit and explicit?
5151
- [Thread Management](https://github.com/onthecodepath/iOS-Interview-Questions#thread-management)
52+
- What is the difference between synchronous and asynchronous task?
5253
- What is the difference between atomic and non-atomic synthesized properties?
5354
- What is GCD and how is it used?
5455
- Explain the difference between Serial vs Concurrent.
@@ -275,6 +276,10 @@ In the first line above, the name variable is *explicitly* declared since the ty
275276

276277
## Thread Management
277278

279+
#### What is the difference between synchronous and asynchronous task?
280+
281+
Synchronous tasks wait until the task has been completed while asynchronous tasks can run in the background and send a notification when the task is complete.
282+
278283
#### What is the difference between *atomic* and *non-atomic* synthesized properties?
279284

280285
First, properties are set to *atomic* by default.

0 commit comments

Comments
 (0)