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

I assume it does, if you try to do so it throws an exception. It's a rather common footgun with multi-threaded code until you've lost a few toes to it. People are always writing naive producer-consumer queues with an unlocked List<T> backing it until they learn better.



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

Search: