multithread programming in C

This is a discussion on multithread programming in C within the C Programming forums, part of the General Programming Boards category; hi, can anybody give me any help/tutorial links on multithread programming in C(ANSI) under windows ? thanks in advance. pal...

  1. #1
    Registered User
    Join Date
    Jan 2003
    Posts
    17

    Lightbulb multithread programming in C

    hi,
    can anybody give me any help/tutorial links on multithread programming in C(ANSI) under windows ?

    thanks in advance.
    pal

  2. #2
    Registered User
    Join Date
    Feb 2002
    Posts
    329
    Use _beginthread() to start a new thread, and run a loop in the new thread.
    For synchronization, use CreateMutex() with WaitForSingleObject()/ReleaseMutex().

  3. #3
    Registered User
    Join Date
    Jan 2003
    Posts
    17

    Lightbulb

    Knutsu could you please tell me where i can get help on net?
    basically where to get started?

    thanks
    pal

  4. #4
    Registered User
    Join Date
    Feb 2002
    Posts
    329
    Go to msdn.microsoft.com/developercenters/ and search for _beginthread, etc...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Windows Forms and multithread
    By mynickmynick in forum Windows Programming
    Replies: 4
    Last Post: 08-11-2008, 12:25 PM
  2. Again on multithread...
    By BrownB in forum C++ Programming
    Replies: 6
    Last Post: 07-13-2006, 02:58 AM
  3. Multithread security problem
    By naruto in forum Windows Programming
    Replies: 2
    Last Post: 12-09-2004, 09:45 PM
  4. Multithread Mainia
    By Inquirer in forum C++ Programming
    Replies: 4
    Last Post: 10-21-2002, 12:20 AM
  5. Major Multithread Problem :: MFC
    By kuphryn in forum Windows Programming
    Replies: 1
    Last Post: 05-07-2002, 10:58 PM

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