Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ntoshev
on Oct 31, 2016
|
parent
|
context
|
favorite
| on:
I don't understand Python's Asyncio
This only runs in the debug version of the code. I hope your mutexes run in production, too.
lmm
on Oct 31, 2016
[–]
So you rely on hoping your tests exercise all possible paths, because if not you get silent race conditions in prod?
ntoshev
on Oct 31, 2016
|
parent
[–]
If you want you can run it in production, too (this would give you a warning, won't prevent race conditions, but there is almost no performance penalty). The point was this is very different from a mutex.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: