Figures 26.3, 26.4, and 26.5 show three possible "thread traces" of how the execution of the same lines of code could happen. Come up with at least four more possible scenarios.
True or False: A race condition occurs when multiple threads are about to perform changes to the same data, and the order in which these steps are done may change the outcome.
True or False: A critical section is a piece of code that accesses a shared variable that should not be concurrently executed by more than one thread. Doing so can lead to race conditions.