i search some post about thread.
some people set Thread.Sleep(10) in their Thread.
another people set Thread.Sleep(100) in their Thread.
i know Sleep(10) means Thread going to sleep for 10millisecond.
but what is difference between Sleep(10) and Sleep(100) for Thread stability
???
now i making network game with unity engine.
my network module have two Thread (send , recv Thread)
recvThread work well, but send Thread is unstable
sendThread always dead some minutes later after starting the thread.
at that time i set Thread.Sleep(10) in sendThread.
but now i set Thread.Sleep(100) in sendThread.
now it work well.
what is difference???
anybody teach me??? ^^;;