CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Posts
    9

    Thread questions

    I have a class that will do large amount of I/O operation. Some of those functions are declared and implemented as workerthreads, so it wont interrupt normal operation in the user interface. my question is, i want to wait for one of the thread to complete before user make another I/O command plus, without freezing the program for a few seconds, how can i achieve that?


    Franky


  2. #2
    Guest

    Re: Thread questions

    Hi,
    You can use WaitForSingleObject() API call to achieve your functionality...
    Feel free to contact me if you need more help.. my mail id is [email protected]


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured