cpu

  1. S

    Thread.Sleep(1) BUG

    why this following code don't give a list (test) with each elements different ? :confused:: Dim test As New List(Of Integer) For i As Integer = 0 To 20 SyncLock test Threading.Thread.Sleep(1) test.Add(Now.Second & Now.Millisecond) End SyncLock Next result with a Intel Core 2 Quad...
Back
Top