.Net Thread question# DotNet - 窗口里的风景
g*y
1 楼
A form will create 5 threads after it is loaded.
There is a button on the form that when pressed will call "Thread.sleep()" to
sleep for a while.
Question, Why other threads can't not move on when "button thread" or "main
thread" is sleeping? Any solution?
Thanks.
There is a button on the form that when pressed will call "Thread.sleep()" to
sleep for a while.
Question, Why other threads can't not move on when "button thread" or "main
thread" is sleeping? Any solution?
Thanks.