diff options
author | Craig Tiller <craig.tiller@gmail.com> | 2015-05-11 09:20:09 -0700 |
---|---|---|
committer | Craig Tiller <craig.tiller@gmail.com> | 2015-05-11 09:20:09 -0700 |
commit | 6a29aa051b28fc14c135f36cbe2133086adff67b (patch) | |
tree | fbd2a4aec2c4742495b0a4a260dceb23821f48fb /test/core/fling/server.c | |
parent | 00d5b5cf90c62f421c7029f2b1be7fcd0386e222 (diff) | |
parent | ad21fea239769e2a3be14ac56ee747eb0f3c13a3 (diff) |
Merge github.com:grpc/grpc into we-dont-need-no-backup
Diffstat (limited to 'test/core/fling/server.c')
-rw-r--r-- | test/core/fling/server.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/core/fling/server.c b/test/core/fling/server.c index 63c7bd7f88..a35afa1077 100644 --- a/test/core/fling/server.c +++ b/test/core/fling/server.c @@ -39,7 +39,10 @@ #include <stdlib.h> #include <string.h> #include <time.h> +#ifndef _WIN32 +/* This is for _exit() below, which is temporary. */ #include <unistd.h> +#endif #include "test/core/util/grpc_profiler.h" #include "test/core/util/test_config.h" @@ -166,6 +169,8 @@ static void start_send_status(void) { tag(FLING_SERVER_SEND_STATUS_FOR_STREAMING))); } +/* We have some sort of deadlock, so let's not exit gracefully for now. + When that is resolved, please remove the #include <unistd.h> above. */ static void sigint_handler(int x) { _exit(0); } int main(int argc, char **argv) { |