hey,
i think i'm close to getting my program to work but i have a problem. I'm not wat to put in the second parameter of waitForMultipleObjects. Can somebody plz tell me.
Here is the code:
...
http://www.experts-exchange.com/Programming/Programming_Languages/Cplusplus/Q_20717957.htm...
Zones:
C++Date Answered: 08/24/2003 Grade: A Views: 68
I have written the code below. It is an empty console app. Both project types (Debug and Release) have been changed to the appropriate Multithread. Every time i run it, anytime the first thread ...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_22574874.html
Zones:
C++,
CDate Answered: 05/17/2007 Grade: A Views: 0
Hello,
I'm writing a small program that needs to wait on socket I/O and on process I/O using pipes.
To detect pipe I/O I must use WaitForMultipleObjects and for socket I/O I must use select.
Thes...
http://www.experts-exchange.com/Programming/System/Windows__Programming/Q_10060582.html
i have the following code:
::WSAEventSelect(....., FD_CLOSE|FD_READ|FD_SEND);
...
...
WaitForMultipleObjects(cnt, handles, FALSE, ....);
when WaitForMultipleObjects returns, how can I dete...
http://www.experts-exchange.com/Programming/System/Windows__Programming/Q_10843261.html
Thanks to all who helped me with threads the last few weeks, I got my app up and running and it's working pretty good... but I've hit a new and strange snag:
Seems everything works fine when I h...
http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_20329897.html
Hi,
I need to port code from win32 to Linux.
I encountered the function 'WaitForMultipleObjects':
DWORD WaitForMultipleObjects(
DWORD nCount, // number of handles in array
...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20244368.html
Zones:
C++Date Answered: 06/11/2002 Grade: A Views: 0
code below: (it runs the first two threads then the program terminiates)
#include <iostream>
#include <windows.h>
#include <winbase.h>
#include <process.h>
#include <string.h>
using n...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20246599.html
Zones:
C++Date Answered: 04/04/2002 Grade: B Views: 0
Please see my question from 8/19 "Threads - What happens when ..." for additional info.
This one will be a bit more difficult to describe to you. Here goes:
The application is used in the fol...
http://www.experts-exchange.com/Programming/System/Windows__Programming/Q_20339025.html
Hi guys,
I am monitoring a directory and my intent is to do some action on a particular file if that file has changed. I am using FindNextChangeNotification to monitor the directory. The code be...
http://www.experts-exchange.com/Programming/System/Windows__Programming/MFC/Q_20830461.htm...
Zones:
Windows MFCDate Answered: 09/06/2004 Grade: A Views: 0
Hi,
I have a question on Shell application execution and waiting it to finish in VB. I used the following two codes to run my test.exe in VB and wait it to finish, but for both of them, sometim...
http://www.experts-exchange.com/Programming/Languages/Visual_Basic/Q_20844992.html
Zones:
Visual BasicDate Answered: 01/27/2004 Grade: B Views: 0