G***o 发帖数: 5158 | 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 |
|