* cygwin-console-helper.cc: New file.
This commit is contained in:
parent
01d8a2dfd6
commit
cea37699d1
|
@ -1,3 +1,7 @@
|
|||
2009-07-04 Christopher Faylor <me+cygwin@cgf.cx>
|
||||
|
||||
* cygwin-console-helper.cc: New file.
|
||||
|
||||
2009-06-10 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* path.cc (oopts): Sort alphabetically, add missing "auto" and
|
||||
|
|
|
@ -57,7 +57,7 @@ CYGWIN_BINS := ${addsuffix .exe,cygpath getfacl ldd kill mkgroup \
|
|||
|
||||
# List all binaries to be linked in MinGW mode. Each binary on this list
|
||||
# must have a corresponding .o of the same name.
|
||||
MINGW_BINS := ${addsuffix .exe,cygcheck ldh strace}
|
||||
MINGW_BINS := ${addsuffix .exe,cygcheck cygwin-console-helper ldh strace}
|
||||
|
||||
# List all objects to be compiled in MinGW mode. Any object not on this
|
||||
# list will will be compiled in Cygwin mode implicitly, so there is no
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
#include <windows.h>
|
||||
int
|
||||
main (int argc, char **argv)
|
||||
{
|
||||
char *end;
|
||||
if (argc != 3)
|
||||
exit (1);
|
||||
HANDLE h = (HANDLE) strtoul (argv[1], &end, 0);
|
||||
SetEvent (h);
|
||||
h = (HANDLE) strtoul (argv[2], &end, 0);
|
||||
WaitForSingleObject (h, INFINITE);
|
||||
exit (0);
|
||||
}
|
Loading…
Reference in New Issue