Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> (Of course the inter thread queue uses a mutex or some other synchronisation mechanism, and the queue itself effectively acts as a synchronisation mechanism.)

I'd suggest using MPSC queues for this purpose (assuming the recipient is a single thread rather than a pool).



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

Search: