Question: a. Explain briefly what the above code is supposed to do. b. List the order in which you expect the text to be displayed by

a. Explain briefly what the above code is supposed to do. b. List the order in which you expect the text to be displayed by the "writeln" statements.
program ThreadTestl sub thread1 as thread writeln ("In threadl") while true wend end sub suh thread2 as thread call thread1 writeln ("In thread2") while true wend end sub call thread2 writeln (In main") do loop end
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
