关于线程的疑问
在MSDN中关于线程的例子中有这么一句话.// Put the main thread to sleep for 1 millisecond to
// allow the worker thread to do some work:
Thread.Sleep(1);
这里说Thread.Sleep(1)是让主线程休眠,是不是应该是让当前线程休眠?
2006-08-02 19:56
在这里当前线程即为主线程
2006-08-03 00:39
2006-08-03 10:50
2006-08-03 11:03
2006-08-04 19:59