This section describes how to control multi-threading within an application by synchronizing execution of threads, and resolving data contention between threads.