+ 3
multi threading
waht a muti threading do?
5 Réponses
+ 14
If one person can do a job in an hour, two persons can do it in half an hour by dividing the job into 2 parts. If you think of person as a processor and work as a task, it's called multi threading.
+ 5
a technique by which a single set of code can be used by several processors at different stages of execution.
+ 4
multi-threading = multi-tasking
+ 2
Suppose you have to perform two tasks simultaneously without one has to wait for other than we can go for multithreading (eg. Printing and Scanning of document can be done in one program simultaneously using multithreading)
+ 2
This is what it looks like, in the sense that 3 main tasks appear to be happening at the same time:
https://code.sololearn.com/WWrsjH8Fap4d/?ref=app
Javascript has one thread, so they take turns...but this happens so fast it looks simultaneous, like multithreading.