Difference between multithreading and multiprogramming.

gauthamgingee

gauthamgingee

@gauthamgingee-dJNP2g Oct 26, 2024
hai friends,
can anybody tel me about difference between multithreading and multiprogramming.

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • Reya

    Reya

    @reya-SMihdC Sep 23, 2010

    Multiprogramming is a form of parallel processing in which several programs are run at the same time on a single processor.Since there is only one processor, there can be no true simultaneous execution of different programs. Instead, the operating system executes part of one program, then part of another, and so on. To the user it appears that all programs are executing at the same time.

    Multithreading is the ability of a program or an operating system process to manage its use by more than one user at a time and to even manage multiple requests by the same user without having to have multiple copies of the program running in the computer
  • anandkumarjha

    anandkumarjha

    @anandkumarjha-jzdDMA Sep 23, 2010

    Multiprogramming is the technique to run several programs at a time using timesharing. The main concept behind the multiple programming is that an operating system stores many programs in the main memory simultaneously and then the processor takes one job from that job pool and it executed them. When that job have to wait for some input output then it takes another job from thAt pool and executes it.like wise it seems that it handles many programs at the same time
    Whereas multithreading means the different threads in the process to perform similar type of the functions. Let's take one example that in the internet world server accepts the requests from the client side for the videos,audios,images. Now we consider the situation according to the single threaded system,in the busy network where many of the clients request for the same things the server would have provided its facilities to only one of the client but this is not the case with multithreading .this problem is solved bu the multithreading
  • Leo

    Leo

    @leo-ZJQlmh Sep 23, 2010

    Your question has been answered several times on CE, please try to search previous posts on before you post. Visit the following thread to get your answer,
    #-Link-Snipped-#