What is multitasking and multithreading?

Answer Posted / cheran pogu

Multitasking is similar to multiprogramming. in fact the
difference between multiprogramming and multitasking is
subtle. Multiprogramming means that the operating system
allows several programs to execute at the same time.

Multitasking means that a program running in a single
partition or region allows multiple tasks to execute
simultaneously. A task is an execution of a program or
programs for a specific user Eg. if user 1 is running PGM A
then user1 has created a task.

Multithreading is the system environment where the tasks
are sharing the same program under the multitasking
environment.Multithreading is a subset of
multitasking,since it concersn tasks which use the same
program.

Under the multithreading environment, a program is shared
by several tasks concurrently. For each task, the program
must work as if it were executing instructions exclusively
for each task.Therefore, it requires special considerations
such as reentrancy.

Is This Answer Correct ?    19 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between tsq and tdq

676


Define exec cics retrieve?

770


What is the eib?

663


Can you define attribute byte?

665


Explain the uses that are associated to tsq and tdq ?

731






Can you explain primary aspect of cics?

773


what are the six different type of argument values in cobol that can be placed in various options of a cics command?

932


when you compile a cics program, the (pre) compiler puts an extra chunk of code. Where does it get included and that is it called? What is its length?

736


when an apllication is invoked via the exec cics start command with the from option, how does the application gain access to the common area?

742


What is journal recovery?

683


What are the cics transactions?

670


Explain how many conditions can you include in a single handle condition command?

701


What is the pcp in the cics?

603


Define the term transaction routing?

660


What are the common tables in cics and their usage?

609