We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 108719d commit 330a823Copy full SHA for 330a823
snippets/visualbasic/VS_Snippets_CLR_System/system.threading.threadlocal/vb/threadlocal.vb
@@ -32,4 +32,14 @@ Module ThreadLocalDemo
32
ThreadName.Dispose()
33
End Sub
34
End Module
35
-'</snippet01>
+' This multithreading example can produce different outputs for each 'action' invocation and will vary with each run.
36
+' Therefore, the example output will resemble but may not exactly match the following output (from a 4 core processor):
37
+' ThreadName = Thread5
38
+' ThreadName = Thread6
39
+' ThreadName = Thread4
40
+' ThreadName = Thread6 (repeat)
41
+' ThreadName = Thread1
42
+' ThreadName = Thread4 (repeat)
43
+' ThreadName = Thread7
44
+' ThreadName = Thread5 (repeat)
45
+'</snippet01>
0 commit comments