mukul-rathi / bolt

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

Segmentation fault on async return #155

Open NoSavedDATA opened 1 month ago

NoSavedDATA commented 1 month ago

Hi, I'm trying to replicate part of your code on my own compiler.

I've successfuly executed parallel threads, but whenever any of them returns/finishes it throws a segmentation fault error. Would you have any ideas of why this is happening?

NoSavedDATA commented 1 month ago

I've discovered that joining the threads is obligatory on my code. I don't know if this is expected.

Were you able to create threads without joining them?