Redian新闻
>
怎么没人回啊Re: WaitOne() and
avatar
怎么没人回啊Re: WaitOne() and# DotNet - 窗口里的风景
E*s
1
我把原程序抄过来, 有劳大家只用抄过去, run 一 run, 讲一讲想法啊:) 万能的坛子.

switch
avatar
G*o
2
gerdo deserves a spank for
the shameless ripoff from newsgroups:
====================================
The second argument only matters if you have a lock on
the block of code that contains the Mutex.WaitOne(,) call.
Passing true will cause the thread to release its lock on
that code, then sleep for the designated amount of time,
then reaquire the lock before continuing.
Passing false will cause the thread to keep its lock on
that code while it sleeps so it doesn't have to reaquire
it when it wak

【在 E*******s 的大作中提到】
: 我把原程序抄过来, 有劳大家只用抄过去, run 一 run, 讲一讲想法啊:) 万能的坛子.
:
: switch

avatar
k*i
3
WaitOne returns true if the event is signalled(or the thread is blocked
infinitely),false if the timeout occured.So when you specified the timeout to
zero,it return false immediately;If there is no parameter,the thread is just
blocked.

not

【在 E*******s 的大作中提到】
: 我把原程序抄过来, 有劳大家只用抄过去, run 一 run, 讲一讲想法啊:) 万能的坛子.
:
: switch

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。