Thread: need help with WaitForSingleObject

  1. #1
    Registered User
    Join Date
    Nov 2002
    Posts
    319

    need help with WaitForSingleObject

    i cant seem to understand this API from msdn
    what does signed and unsigned states mean exactly
    can anyone do me a small example without threads involved

  2. #2
    Registered User Tonto's Avatar
    Join Date
    Jun 2005
    Location
    New York
    Posts
    1,465

  3. #3
    Registered User
    Join Date
    Nov 2002
    Posts
    319
    yes i dont really understand what it means by those ,

  4. #4
    Registered User Tonto's Avatar
    Join Date
    Jun 2005
    Location
    New York
    Posts
    1,465
    Well different kernel objects enter a signaled state under different conditions

    Threads - when they terminate
    Events - when the user sets an event

    All sortsa stuff

    http://msdn.microsoft.com/library/de...re_objects.asp
    http://msdn.microsoft.com/library/de..._a_process.asp

    etc.

  5. #5
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544
    Bit more info here:
    Synchronization Objects

  6. #6
    Registered User Tonto's Avatar
    Join Date
    Jun 2005
    Location
    New York
    Posts
    1,465
    I like how authorative you are anonytmouse. Passive, but authorative.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help on waitforsingleobject(.....)
    By nhrraj in forum Windows Programming
    Replies: 2
    Last Post: 09-08-2007, 01:03 PM
  2. WaitForSingleObject does not allocating...
    By Devil Panther in forum Windows Programming
    Replies: 2
    Last Post: 01-20-2006, 03:49 AM
  3. Passing HWND of edit box to thread?
    By berto in forum Windows Programming
    Replies: 8
    Last Post: 06-07-2003, 04:43 PM