Thread: multithread programming in C

  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, 11:25 AM
  2. Again on multithread...
    By BrownB in forum C++ Programming
    Replies: 6
    Last Post: 07-13-2006, 01: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-20-2002, 11:20 PM
  5. Major Multithread Problem :: MFC
    By kuphryn in forum Windows Programming
    Replies: 1
    Last Post: 05-07-2002, 09:58 PM