rtl_tcp: increase the timeout in worker thread

the reset takes ages on windows

Signed-off-by: Steve Markgraf <steve@steve-m.de>
pull/1/merge
Hoernchen 2012-10-18 01:27:51 +02:00 zatwierdzone przez Steve Markgraf
rodzic 7ff4abd378
commit aabd42dd05
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -179,7 +179,7 @@ static void *tcp_worker(void *arg)
pthread_mutex_lock(&ll_mutex);
gettimeofday(&tp, NULL);
ts.tv_sec = tp.tv_sec+1;
ts.tv_sec = tp.tv_sec+5;
ts.tv_nsec = tp.tv_usec * 1000;
r = pthread_cond_timedwait(&cond, &ll_mutex, &ts);
if(r == ETIMEDOUT) {