Find the answer to your Linux question:
Results 1 to 3 of 3
Hi All Developing application in Linux, is it required multiprocessing and multithreading programming or linux handle multiprocessing or multithreading by itselt? Pls reply as soon as possible. Thank you Sandip...
  1. #1
    Just Joined!
    Join Date
    Jan 2008
    Posts
    1

    Question multiprocessing and multithreading in linux application

    Hi All

    Developing application in Linux, is it required multiprocessing and multithreading programming or linux handle multiprocessing or multithreading by itselt? Pls reply as soon as possible.
    Thank you
    Sandip

  2. #2
    Linux Engineer wje_lf's Avatar
    Join Date
    Sep 2007
    Location
    Mariposa
    Posts
    1,192
    If you divide up the work in your application by using fork() or POSIX threads or some other threading framework, your processing will be divided up among the available processor hardware.

    If you don't, it won't.

    Hope this helps.
    --
    Bill

    Old age and treachery will overcome youth and skill.

  3. #3
    Just Joined!
    Join Date
    Apr 2007
    Posts
    12
    Ever used pthread (POSIX thread) before? Compiling C code with pthread in it is a bit different than when you compile ordinary C code without it .

    Hope this helps

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...