程序1:
Dim th As New Thread(AddressOf app.MyAsyncOperation)
th.Start()
程序2:
Dim th As New ThreadStart(AddressOf app.MyAsyncOperation)
Dim threaddemo As New Thread(th)
threaddemo.Start()
两者有什么不同?
...全文
701打赏收藏
如何看待thread和threadstart
程序1: Dim th As New Thread(AddressOf app.MyAsyncOperation) th.Start() 程序2: Dim th As New ThreadStart(AddressOf app.MyAsyncOperation) Dim threaddemo As New Thread(th) threaddemo.Start() 两者有什么不同?