October 01, 2005
C++/CLI Threading: Part I
Figure 2: (a) Thread output producing a mismatched coordinate pair; (b) matched coordinate pair from a synchronized execution.
(a) (1878406,1878406) (2110533,2110533) (2439367,2439367) (2790112,2790112) x: 3137912 y: 3137911 // y is different from x (3137912,3137911) // y is different from x (3466456,3466456) (3798720,3798720) (5571903,5571902) // y is different from x (5785646,5785646) (5785646,5785646) (b) (333731,333731) (397574,397574) (509857,509857) (967553,967553) x: 853896 y: 967553 // y is still different from x (1619521,1619521) (1720752,1720752) (1833313,1833313) (2973291,2973291) (3083198,3083198) (3640996,3640996)
|
|
||||||||||||||||||||||||||||
|
|
|
|