Main Site Documentation

Thread.Sleep(-1);


#1

What is the purpose of such negative number in the sleep method? This occurs in the USB Host sample of the documentation.


#2

Thread.Sleep(-1) ≡ Thread.Sleep(Timeout.Infinite)


#3

Thanks… i have never use it before… Now I 'll know :dance: