+ 3

multi threading

waht a muti threading do?

2nd Jun 2017, 8:02 AM
Brahima Khirennas
Brahima Khirennas - avatar
5 odpowiedzi
+ 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.
2nd Jun 2017, 11:55 AM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar
+ 5
a technique by which a single set of code can be used by several processors at different stages of execution.
2nd Jun 2017, 8:54 AM
Ekansh
+ 4
multi-threading = multi-tasking
2nd Jun 2017, 8:49 AM
Ekansh
+ 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)
2nd Jun 2017, 5:17 PM
Vinesh A.
Vinesh A. - avatar
+ 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.
28th Jun 2017, 3:08 AM
Kirk Schafer
Kirk Schafer - avatar