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:
Subscribe ►
Смотрите видео Multi-Threading Simulation | CPU-OS Simulator онлайн без регистрации, длительностью 03 минут 42 секунд в хорошем hd качестве. Это видео добавил пользователь CodeJedi 25 Февраль 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 5 тысяч раз и оно понравилось 30 людям.