summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2024-06-06 14:00:30 +0200
committerMitya Selivanov <automainint@guattari.tech>2024-06-06 14:00:30 +0200
commite2ebfba98e34dfa8f6a989770fc522be79388cef (patch)
treeb5c2c974a1ed7d6cd6c653b85906772f590daf89
parent93bd91f18b016990931cf879b2d9dd6e864f28ec (diff)
downloadkit-e2ebfba98e34dfa8f6a989770fc522be79388cef.zip
[build] debug
-rwxr-xr-xbuild.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/build.c b/build.c
index 838d3ec..1e6e61a 100755
--- a/build.c
+++ b/build.c
@@ -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);