Thread.Sleep(-1);

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

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

1 Like

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