Multi-Threading Simulation | CPU-OS Simulator

Veröffentlicht am: 25 Februar 2022
auf dem Kanal: 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  


Auf dieser Seite können Sie das Online-Video Multi-Threading Simulation | CPU-OS Simulator mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer CodeJedi 25 Februar 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 8,332 Mal angesehen und es wurde von 48 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!