Walter Bright Wrote: > http://www.reddit.com/r/programming/comments/7akzd/escape_analysis/ how to mark and verify this? void foo() { void goo() { DoSomeJob(); } JobHandle job=ThreadPool.QueueJob(&goo); //goo goes to the global state ... job.WaitForCompletion(); //but it's safe }