True Multitasking

This is a discussion on True Multitasking within the A Brief History of Cprogramming.com forums, part of the Community Boards category; I hear the term Multitasking used often in relation to windows. Is this a "True" multitasking OS. With the use ...

  1. #1
    Still A Registered User DISGUISED's Avatar
    Join Date
    Aug 2001
    Posts
    499

    True Multitasking

    I hear the term Multitasking used often in relation to windows. Is this a "True" multitasking OS. With the use of a swap file I don't see how it could be. Am I correct? I am trying to solve a little dispute with some buddies of mine. Can the same be said about Linux? UNIX?

  2. #2
    Banned maes's Avatar
    Join Date
    Aug 2001
    Posts
    744
    I don't really know. But I think true multitasking can only be done if you have 2 processors. Now he only divides the time between the different tasks. You arenít doing them simultaneously

  3. #3
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    So define "True" multitasking. On any single processor system, regardless of it's OS, only one thread of one task is actually running.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  4. #4
    Still A Registered User DISGUISED's Avatar
    Join Date
    Aug 2001
    Posts
    499
    I understand what adrianxw is saying but I have a friend who keeps telling me otherwise about UNIX. He says that UNIX has the only true Multitasking ability because it can tell a processor to do one task in the foreground and another in the background simultaneously. I am a confused about what he means or if he actually knows what he is talking about at all.

  5. #5
    Blank
    Join Date
    Aug 2001
    Posts
    1,034
    True multitasking as opposed to cooperative multitasking .

  6. #6
    /dev/null
    Guest
    Using two processors is called multi threading.

    Unix/Linux users have been multitasking for decades! (microsoft claims to have true multitasking but that depends on your defenition...)

    hehhee i just had to post this

    Q: Does Windows offer true multitasking?
    A: Yes. It's called Interactive Multitasking, meaning you can go work on other tasks while waiting for your computer to reboot each time Windoze crashes.

  7. #7
    Peace
    Join Date
    Aug 2001
    Posts
    1,510
    Technical Microsoft definition:

    Threaded Multi-Tasking:
    The cooperative multi-tasking found in Windows 3.1 has now been
    replaced with the far more powerful "uncooperative multi-tasking".
    This enhancement will allow several processes to crash
    simultaneously. Our new crash protection facility greatly enhances
    the multi-tasking environment. Should one process fail, the CPF will
    prevent this process from being disturbed by other cleanly running
    processes. The multi-threading environment allows one process to
    generate multiple errors, while still remaining separate from other
    threads.
    "There's always another way"
    -lightatdawn (lightatdawn.cprogramming.com)

  8. #8
    A Banana Yoshi's Avatar
    Join Date
    Oct 2001
    Posts
    857
    It is called "Jumpy Tasking" because it load a little bit of one thing, and then another. So it is ssssssssloowwwwwwwwww.
    ------------------------------
    Engineer223
    Yoshi

  9. #9
    _B-L-U-E_ Betazep's Avatar
    Join Date
    Aug 2001
    Posts
    1,412
    Unix does multi-task...

    and your friend is right on that part.

    There are a number of PIDs (process IDs) that can be running at the same time in the forground and background.

    Hate to burst his bubble though... but Windows can do it pretty much the same. (DOS cannot)

    Ever run Norton antivirus (or equiv) while searching the internet and/or playing a game. It will run in the background. Although, you will see serious performance decreases that are not necessarily due to ram.

    I think that there are more technical reasons why some say Unix is 'true' multitasking and Windows isn't. But if the end result is transparent to the user, does it really matter.

    In the right hands, Unix is very powerful... but then again I have seen some pretty powerful DOS junkies as well.

    Not a very definitive answer for me... but I am beat tired...
    Blue

  10. #10
    /dev/null
    Guest
    Yes, you can "Truly multi-task" in DOS, but you have to use the very clever and very scary "PT-DOS".

  11. #11
    Blank
    Join Date
    Aug 2001
    Posts
    1,034
    I think also to be true multitasking the operating must also
    keep processes from stepping on each other. So windows 98
    isn't even know it supposivly keeps process from writting over kernel memory. Still not sure though.

    Unix is multi-user but windows isn't really designed to be.

  12. #12
    Scourfish
    Guest
    You wanna talk about true multitasking? True multitasking is when I am at work at the old supermarket and I am able to finish bagging somebody's order and half assedly tell them to have a nice day at the same time.

  13. #13
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    >>>
    He says that UNIX has the only true Multitasking ability because it can tell a processor to do one task in the foreground and another in the background simultaneously.
    <<<

    For the reason I gave before, this is simply not true. It may appear that a single chip is running n foreground tasks and another n background tasks, (Unix, Windows and a great many other OS's do this), but a single CPU can only process one thread at a time, the OS divides chip time between the running tasks.

    I believe your friend does not understand what he/she is talking about, and is simply talking up Unix.

    >>> why some say Unix is 'true' multitasking and Windows isn't.

    It is because the Unix lobby don't like the idea that anyone else can "do" what they can do, so they obscure the definition to make sure nobody bothers to check. Simple fact, there were multitasking operating systems around before Unix - they hate that!
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  14. #14
    /dev/null
    Guest
    "It is because the Unix lobby don't like the idea that anyone else can "do" what they can do."

    welll aparently you sound like a winders fanatics... migh i remind you that mircosoft.com and hotmail.com run unix? ironic isnt it...

  15. #15
    Registered User
    Join Date
    Oct 2001
    Posts
    375
    *sniffle* I remember the Amiga. True multitasking, super computers. Several processors, never crashed, could do high quality video editing in 1987 for less than the price of a 486. Even the floppy disks never went bad (still have some that are perfectly good!!?!)

    Anyway, both newer versions of Windows and pretty much all versions of *nix are capable of running on multiprocessor systems, though neither of them have yet to do it particularly well do to *nix terrible design and Windows copying them.

    Some might also argue that multiple pipelines into the processor (which work like an assembly line) allows for a sort of multitasking.. but that is processor design and has nothing to do with the OS.

    -Justin
    Allegro precompiled Installer for Dev-C++, MSVC, and Borland: http://galileo.spaceports.com/~springs/

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. gcc link external library
    By spank in forum C Programming
    Replies: 6
    Last Post: 08-08-2007, 03:44 PM
  2. C++ FTP class won't work
    By lord mazdak in forum C++ Programming
    Replies: 8
    Last Post: 12-18-2005, 06:57 AM
  3. C++ Operator Overloading help
    By Bartosz in forum C++ Programming
    Replies: 2
    Last Post: 08-17-2005, 12:55 PM
  4. Reducing Code size from ridiculous length
    By DanFraser in forum C# Programming
    Replies: 10
    Last Post: 01-18-2005, 04:50 PM
  5. Something is wrong with this menu...
    By DarkViper in forum Windows Programming
    Replies: 2
    Last Post: 12-14-2002, 10:06 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21