Q30
MCQ2 marks, −0.67Consider the following two threads and that update two shared variables and . Assume that initially . Though context switching between threads can happen at any time, each statement of or is executed atomically without interruption. Which one of the following options lists all the possible combinations of values of a and b after both T1 and T2 finish execution?
Sign in to save attempts.
Loading…