Click here to Skip to main content
15,895,192 members

Comments by IllidanS4 (Top 1 by date)

IllidanS4 15-Jun-15 14:13pm View    
More problematic than having a variable changed at undetermined time is the lifetime of the variable. When the method ends, the stack frame will be released, and so the reference would be invalid in the created thread, which is inacceptable, of course.