diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-02-26 17:09:54 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-02-26 17:09:54 -0800 |
| commit | feeec674529cf563f8507c307ae833dc93044664 (patch) | |
| tree | 91a4ef9801260076d579cb77cfd28c37005b1988 /src | |
| parent | 2729907d4b618e1b35b4b0d1b4f6271f5139ebef (diff) | |
| download | nng-feeec674529cf563f8507c307ae833dc93044664.tar.gz nng-feeec674529cf563f8507c307ae833dc93044664.tar.bz2 nng-feeec674529cf563f8507c307ae833dc93044664.zip | |
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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/platform/windows/win_ipc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
