September Morn Update
This commit is contained in:
parent
4e2d22a71d
commit
aac6731f2c
6856 changed files with 141342 additions and 21127 deletions
|
|
@ -1,26 +0,0 @@
|
|||
Imports System.Threading
|
||||
|
||||
Module Module1
|
||||
Public rnd As New Random
|
||||
|
||||
Sub Main()
|
||||
Dim t1 As New Thread(AddressOf Foo)
|
||||
Dim t2 As New Thread(AddressOf Foo)
|
||||
Dim t3 As New Thread(AddressOf Foo)
|
||||
|
||||
t1.Start("Enjoy")
|
||||
t2.Start("Rosetta")
|
||||
t3.Start("Code")
|
||||
|
||||
t1.Join()
|
||||
t2.Join()
|
||||
t3.Join()
|
||||
|
||||
End Sub
|
||||
|
||||
Sub Foo(ByVal state As Object)
|
||||
Thread.Sleep(rnd.Next(1000))
|
||||
Console.WriteLine(state)
|
||||
End Sub
|
||||
|
||||
End Module
|
||||
Loading…
Add table
Add a link
Reference in a new issue