need help with WaitForSingleObject

This is a discussion on need help with WaitForSingleObject within the Windows Programming forums, part of the Platform Specific Boards category; i cant seem to understand this API from msdn what does signed and unsigned states mean exactly can anyone do ...

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

    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

    ╔╗╔╦══╦╗╔╦══╦╗
    ║╚╝║╔╗║╚╝║╔╗║║
    ║╔╗║╠╣║╔╗║╠╣╠╣
    ╚╝╚╩╝╚╩╝╚╩╝╚╩╝

    codez http://code.google.com/p/zxcvbn/

  3. #3
    Registered User
    Join Date
    Nov 2002
    Posts
    315
    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.

    ╔╗╔╦══╦╗╔╦══╦╗
    ║╚╝║╔╗║╚╝║╔╗║║
    ║╔╗║╠╣║╔╗║╠╣╠╣
    ╚╝╚╩╝╚╩╝╚╩╝╚╩╝

    codez http://code.google.com/p/zxcvbn/

  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.

    ╔╗╔╦══╦╗╔╦══╦╗
    ║╚╝║╔╗║╚╝║╔╗║║
    ║╔╗║╠╣║╔╗║╠╣╠╣
    ╚╝╚╩╝╚╩╝╚╩╝╚╩╝

    codez http://code.google.com/p/zxcvbn/

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, 02: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

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