由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
DotNet版 - .Net Thread question
相关主题
[转载] 问一个javascript 和 .NET 的问题如何同步多个程序同时读取一个文件
Quick QuestionWebClient is not thread-safe!
Threading Question7 free ebooks
easy question, but ...Thread.Sleep is a sign of a poorly designed program
Thread suspend and resume请问.Net相关的工作,面试是什么风格的?
WebClient for multi-connections?Re: 又开始认证了SQL 2012 (转载)
Is there WinThread in C#c#怎么测试deadlock, race condition啊? (转载)
如何在C#环境下启动一个新的进程How to get button name? (转载)
相关话题的讨论汇总
话题: thread话题: threads话题: question话题: net话题: button
进入DotNet版参与讨论
1 (共1页)
g****y
发帖数: 212
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.
k****i
发帖数: 1072
2
How do you know that other threads is not moving on?Do you really start the
threads before the main thread goes to sleep?

to

【在 g****y 的大作中提到】
: 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.

g****y
发帖数: 212
3
Those threads are generating bebugging messages all the time.
I would know it if they were running.

"main

【在 k****i 的大作中提到】
: How do you know that other threads is not moving on?Do you really start the
: threads before the main thread goes to sleep?
:
: to

s*i
发帖数: 5025
4
I just tested and no problem. Something wrong in your code.

the
"Thread.sleep()"

【在 g****y 的大作中提到】
: Those threads are generating bebugging messages all the time.
: I would know it if they were running.
:
: "main

1 (共1页)
进入DotNet版参与讨论
相关主题
How to get button name? (转载)Thread suspend and resume
mouse overWebClient for multi-connections?
How to make Internet Explorer Toolbar?Is there WinThread in C#
about preventing history back in ASP.NET如何在C#环境下启动一个新的进程
[转载] 问一个javascript 和 .NET 的问题如何同步多个程序同时读取一个文件
Quick QuestionWebClient is not thread-safe!
Threading Question7 free ebooks
easy question, but ...Thread.Sleep is a sign of a poorly designed program
相关话题的讨论汇总
话题: thread话题: threads话题: question话题: net话题: button