Process vs Thread

This is a discussion on Process vs Thread within the C Programming forums, part of the General Programming Boards category; Hi, I read that C programming language doesn't support mutlithread. Are there any libraries implemented for such purpose? And, what ...

  1. #1
    Registered User
    Join Date
    Jun 2006
    Posts
    130

    Process vs Thread

    Hi,

    I read that C programming language doesn't support mutlithread. Are there any libraries implemented for such purpose? And, what is the difference between process and thread?

  2. #2
    Deathray Engineer MacGyver's Avatar
    Join Date
    Mar 2007
    Posts
    3,211
    A process is an instance of a program running. A thread is sort of like a process within a process. Generally each process has at least one thread, but sometimes more, depending upon how you view processes and threads.

    Processes and threading is O/S specific. What you can do, though, is find yourself a library that is cross-platform, such as pthreads. You can find a pthreads-for-Windows floating about somewhere.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. create a child process that creates a child process
    By cus in forum Linux Programming
    Replies: 9
    Last Post: 01-13-2009, 01:14 PM
  2. Thread Prog in C language (seg fault)
    By kumars in forum C Programming
    Replies: 22
    Last Post: 10-09-2008, 01:17 PM
  3. API Thread HEADACHE
    By WaterNut in forum Windows Programming
    Replies: 11
    Last Post: 01-16-2007, 09:10 AM
  4. multithreading question
    By ichijoji in forum C++ Programming
    Replies: 7
    Last Post: 04-12-2005, 10:59 PM
  5. Win32 Thread Object Model Revisted
    By Codeplug in forum Windows Programming
    Replies: 5
    Last Post: 12-15-2004, 07:50 AM

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