Self-Review Exercises

  1. 23.1 What does it mean to process tasks asynchronously?

  2. 23.2 What is the key advantage of programming your apps for multicore systems?

  3. 23.3 Suppose you program an app with two compute-intensive tasks that run on one core of a dual-core system. Then, suppose you program the app so that the two compute-intensive tasks run asynchronously in separate threads on a dual-core system. Should you expect the latter program to run in half the time? Why?

  4. 23.4 Does the async and await mechanism create new threads?

  5. 23.5 (True/False) You can update a GUI from any thread of execution. If false, explain why.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset