Programming with Threads

This is a discussion on Programming with Threads within the C Programming forums, part of the General Programming Boards category; Hi everyone, Does anyone know of a good tutorial where I can learn to use threads in C? I'm writing ...

  1. #1
    Unregistered
    Guest

    Programming with Threads

    Hi everyone,

    Does anyone know of a good tutorial where I can learn to use threads in C? I'm writing a program that requires I be able to take input while the program is calculating. I tried searching the net but couldn't find anything good.


    Thanks,
    DM

  2. #2
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    What you're asking for might be done using OS specific routines, so you'll need to be a little more specific with your question. What OS, what compiler?
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  3. #3
    Registered User sean345's Avatar
    Join Date
    Mar 2002
    Posts
    346
    There is some Win32 example code at http://www.gametutorials.com/CodeDump/CodeDump_Pg1.htm

    - Sean
    If cities were built like software is built, the first woodpecker to come along would level civilization.
    Black Frog Studios

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 5
    Last Post: 10-17-2008, 12:28 PM
  2. Yet another n00b in pthreads ...
    By dimis in forum C++ Programming
    Replies: 14
    Last Post: 04-07-2008, 01:43 AM
  3. Classes and Threads
    By Halloko in forum Windows Programming
    Replies: 9
    Last Post: 10-23-2005, 06:27 AM
  4. problem with win32 threads
    By pdmarshall in forum C++ Programming
    Replies: 6
    Last Post: 07-29-2004, 03:39 PM
  5. Block and wake up certain threads
    By Spark in forum C Programming
    Replies: 9
    Last Post: 06-01-2002, 04:39 AM

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