Multi-Threading Simulation | CPU-OS Simulator

Published: 25 February 2022
on channel: CodeJedi
8,332
48

In this video, we will be looking into the simulation of Multi-threading in CPU-OS Simulator

Program:
program ThreadTest
total = 50
sub thread2 as thread
for i = 7 to 9
total = total + i
next
end sub

sub thread1 as thread
for i = 1 to 2
total = total + i
call thread2
next
end sub

call thread1
wait
writeln (“Total =”, total)
end

Buy Me a coffee: https://www.buymeacoffee.com/codejedi96

Subscribe ►    / @codejedi_96  


On this page of the site you can watch the video online Multi-Threading Simulation | CPU-OS Simulator with a duration of hours minute second in good quality, which was uploaded by the user CodeJedi 25 February 2022, share the link with friends and acquaintances, this video has already been watched 8,332 times on youtube and it was liked by 48 viewers. Enjoy your viewing!