April 2018
Intermediate to advanced
1440 pages
42h 45m
English
There are several reasons for using multiple threads. Suppose that you are making a network call from an application that might take some time. You don’t want to stall the user interface and force the user to wait idly until the response is returned from the server. The user could perform some other actions in the meantime or even cancel the request that was sent to the server. Using threads can help.
For all activities that require a wait—for example, because of file, database, or network access—you can start ...
Read now
Unlock full access