it occurred to me that since the multi thread parallel execution is an illusion, then what’s the point having mailbox for inter-process communication rather than simple queues?
I mean essentially queue push/pop method is executed single-thread internally without interruption, isn’t it?
I was under the impression that mailbox provides built-in semaphore-like operation to prevent race condition when multiple thread accessing same mailbox, but since multi-thread is an illusion, why would anyone need to use mailbox instead of just queues?