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 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: 我把原程序抄过来, 有劳大家只用抄过去, run 一 run, 讲一讲想法啊:) 万能的坛子.
:
: switch
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 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: 我把原程序抄过来, 有劳大家只用抄过去, run 一 run, 讲一讲想法啊:) 万能的坛子.
:
: switch
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 的大作中提到】![](/moin_static193/solenoid/img/up.png)
: 我把原程序抄过来, 有劳大家只用抄过去, run 一 run, 讲一讲想法啊:) 万能的坛子.
:
: switch
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 的大作中提到】
![](/moin_static193/solenoid/img/up.png)
: 我把原程序抄过来, 有劳大家只用抄过去, run 一 run, 讲一讲想法啊:) 万能的坛子.
:
: switch
相关阅读
question re: .net从国内连接 mitbbsabout visual studio.net upgrade 有没有人在LONGHORN测试版上试过装VS2005BETA?ASP.NET 难题测试 (1)Re: How to write to MSMQ on another mach一个非常奇怪的问题程序 运行 很长的输入文件就报错C# problems那位VB.NET 的大侠帮个忙。 怎么转换?How to write to MSMQ on another machine?VB.Net in DeskTop development 的面试会问什么问题请问大家有什么便宜的HOSTING SERVICE推荐?MS SQL Report Server Questionshow they did elgooGcross browser/platform .net!?125*5 Re: MCSD.NET考试费怎样能打折啊?125好贵啊CVS +.NET请教:Alcohol 120%不能刻录