Hacker News new | past | comments | ask | show | jobs | submit login

I'm not sure what you're doing to get into deadlocks, but when used as prescribed, I personally haven't run in to these issues.

Swift concurrency is still in a transitory period, and with that comes some warnings about how you can mix it with legacy concurrency primitives. i.e. not holding a lock across Task boundaries.

However, it's fairly well documented. There's a talk 'Swift concurrency: Behind the scenes' [1], that goes into detail on this. View from around the 25 min mark.

[1] https://developer.apple.com/wwdc21/10254?time=1614




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: