diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2024-06-06 14:00:30 +0200 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2024-06-06 14:00:30 +0200 |
commit | e2ebfba98e34dfa8f6a989770fc522be79388cef (patch) | |
tree | b5c2c974a1ed7d6cd6c653b85906772f590daf89 | |
parent | 93bd91f18b016990931cf879b2d9dd6e864f28ec (diff) | |
download | kit-e2ebfba98e34dfa8f6a989770fc522be79388cef.zip |
[build] debug
-rwxr-xr-x | build.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -569,7 +569,6 @@ i32 main(i32 argc, c8 **argv) { if (OS == WINDOWS) { #if defined(_WIN32) && !defined(__CYGWIN__) - printf(" *** Starting reader\n"); fflush(stdout); CreateProcessA( NULL, fmt("\"." DLM "%s" DLM "test_interprocess\" reader", destination), @@ -582,11 +581,11 @@ i32 main(i32 argc, c8 **argv) { &si, &pi ); + Sleep(0); #endif } else system(fmt("\"." DLM "%s" DLM "test_interprocess\" reader &", destination)); - printf(" *** Starting writer\n"); fflush(stdout); code = system(fmt("\"." DLM "%s" DLM "test_interprocess\" writer", destination)); if (code == 0) @@ -597,8 +596,6 @@ i32 main(i32 argc, c8 **argv) { } fflush(stdout); - printf(" *** Waiting for reader\n"); fflush(stdout); - #if defined(_WIN32) && !defined(__CYGWIN__) WaitForSingleObject(pi.hProcess, INFINITE); CloseHandle(pi.hProcess); |