This commit is contained in:
jfrijters 2006-04-12 13:50:25 +00:00
Родитель 95e14b5848
Коммит e4f2e1ffa1
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -253,7 +253,10 @@ final class VMThread
}
for(long iter = ms / Integer.MAX_VALUE; iter != 0; iter--)
{
nativeThread.Join(Integer.MAX_VALUE);
if(nativeThread.Join(Integer.MAX_VALUE))
{
break;
}
}
nativeThread.Join((int)(ms % Integer.MAX_VALUE));
}