mukul-rathi / bolt

Bolt is a language with in-built data-race freedom!
MIT License
573 stars 53 forks source link

Collate region accesses of a given free var in thread #109

Closed mukul-rathi closed 4 years ago

mukul-rathi commented 4 years ago

If we have multiple region options for an identifier pick the non-linear one if possible, except for consume() in which case leave all the ids there. Go through and add in function param constraints and also method effect regions constraints.

Then store result into the region list.

Compare concurrent regions accessed amongst threads. (Do it pairwise amongst threads). for each of other threads -> find identifier in thread and compare concurrent accesses, for each of regions.