mukul-rathi / bolt

Bolt is a language with in-built data-race freedom!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Check alias liveness in other threads

mukul-rathi opened this issue · comments

If an alias y is live in another thread, then x is not linear

let x = new Foo();
let y = x
finish{
async{
 y ....
}
x .... // alias y is live for entire finish async block
x .... 
}

this doesn't actually matter (since splitting capability)