What is multitasking and multithreading?
Answers were Sorted based on User's Feedback
Answer / sadiq afroze
Multitasking is the feature supported by the operating
system to execute more than one task simultaneously.
Multithreading is the system environment where the tasks are
sharing the same programs load module under the multitasking
environment. It is a subset of multitasking since it
concerns tasks which use the same program.
Is This Answer Correct ? | 31 Yes | 8 No |
Answer / 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 |
Answer / sriramu.t
In simple words we can also answer as ..
more than one task execute concurently is called
multitaking and one taks can be used by more than one
program is called multithreading.
Is This Answer Correct ? | 19 Yes | 15 No |
Answer / maruthamkumar
multitasking: os allows more than one task to be executed concurrently regardless of the task using same resources or different resources.but only one task may take control over the resources.
multithreading:it is a subset of multitasking.it is an environment were multiple task share the same resources without interfering each other.
Thread:its a set of control structure to communicate and effectively utillise the same resources among n number of task
Is This Answer Correct ? | 3 Yes | 1 No |
What are the commands used to gain exclusive control over a resource (for Ex a Temporary storage queue.)?
what is quasi-reentrant program?
Explain the various ways data can be passed between CICS programs.
Explain the difference between start and xctl?
What are the CICS tables? How to traverse from one screen (program) to another on CICS?
Can you explain multitasking and multithreading?
What is the process of converting the CICS commands into the equivalent host language statements called?
Explain the usage of language in the ppt entry?
What is the comaera (communication area)?
How can we initiate a transaction from batch?
What is the EIB parameter and the CICS command used to implement Pseudo-Conversational technique using single PCT ? Single PPT entry?
Suppose you are adding a new field in a map, and that field should also be added as a new column in DB2 table. How do you implement this? what is the impact analysis u will do?