2009-07-05 02:01:26 +02:00
|
|
|
#include <windows.h>
|
|
|
|
int
|
|
|
|
main (int argc, char **argv)
|
|
|
|
{
|
|
|
|
char *end;
|
|
|
|
if (argc != 3)
|
|
|
|
exit (1);
|
2019-06-27 07:31:56 +02:00
|
|
|
HANDLE h = (HANDLE) strtoull (argv[1], &end, 0);
|
2009-07-05 02:01:26 +02:00
|
|
|
SetEvent (h);
|
2019-06-27 07:31:56 +02:00
|
|
|
h = (HANDLE) strtoull (argv[2], &end, 0);
|
2009-07-05 02:01:26 +02:00
|
|
|
WaitForSingleObject (h, INFINITE);
|
|
|
|
exit (0);
|
|
|
|
}
|