From feeec674529cf563f8507c307ae833dc93044664 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Mon, 26 Feb 2018 17:09:54 -0800 Subject: Windows IPC connection timer still thinks its usec. We changed the timers to use msec granularity, but we missed this one. The result is that in certain code flows the IPC connection times can look quite long -- with weird 10 sec stalls. --- src/platform/windows/win_ipc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/windows/win_ipc.c b/src/platform/windows/win_ipc.c index 8c94e404..84afbaa5 100644 --- a/src/platform/windows/win_ipc.c +++ b/src/platform/windows/win_ipc.c @@ -462,7 +462,7 @@ nni_win_ipc_conn_thr(void *arg) nni_cv_wait(&w->cv); } else { // Wait 10 ms, unless woken earlier. - nni_cv_until(&w->cv, nni_clock() + 10000); + nni_cv_until(&w->cv, nni_clock() + 10); } } nni_mtx_unlock(&w->mtx); -- cgit v1.2.3-70-g09d2