aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/fling
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2015-05-11 10:46:33 -0700
committerGravatar Craig Tiller <craig.tiller@gmail.com>2015-05-11 10:46:33 -0700
commit9ec7f5ab81b98408b1cd4094ff536358528534c0 (patch)
tree5ae068d99cc33863e5cb332b79558e428fa60f9d /test/core/fling
parentb122e2ec9ff9c32b9ced1efbc02a06bc64178d9f (diff)
parent34f9af40e985b5fea4cf65335d14066398f43e83 (diff)
Merge github.com:grpc/grpc into churn-churn-churn-the-api-gently-down-the-stream
Diffstat (limited to 'test/core/fling')
-rw-r--r--test/core/fling/server.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/core/fling/server.c b/test/core/fling/server.c
index 8eab534177..1f1f857bd9 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) {