1.

Each thread is a single stream of execution.(a) False(b) TrueThe question was posed to me in an interview.My question is based upon Multithreading topic in section Going Parallel, Handling Actuator and Sensor of IOT

Answer»

Right answer is (a) False

The best explanation: Multithreading is a mechanism for SPLITTING up a program into SEVERAL parallel ACTIVITIES called threads. Each thread is a SINGLE stream of execution, yet they all share the same resources.



Discussion

No Comment Found

Related InterviewSolutions