summaryrefslogtreecommitdiff
path: root/build.c
diff options
context:
space:
mode:
Diffstat (limited to 'build.c')
-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);