driver: more reasonable thread wait timeout on Windows.
authorJehan <jehan@girinstud.io>
Wed, 11 Dec 2019 16:51:42 +0000 (17:51 +0100)
committerJehan <jehan@girinstud.io>
Fri, 13 Dec 2019 08:52:33 +0000 (09:52 +0100)
commit13226e310195c7dd5e051c791c4f0839f2f606c4
tree1fb28f95845eb55cf1c19fe8543ef4fb65bdd0ab
parent1a6ea8ee6da22ed8f293df463b84e8ce27762c6f
driver: more reasonable thread wait timeout on Windows.

It used to be 5ms, which might not be long enough in some cases for the
thread to exit well, but then when set to 5000 (5s), it would slow down
any program depending on OpenBlas.

Let's just set it to 50ms, which is at least 10 times longer than
originally, but still reasonable in case of failed thread termination.
driver/others/blas_server_win32.c