4 ms·
I think it’s just a bit badly worded. You don’t normally throw them away, you leave them in the queue for later. For instance if you have a process that gets r
by ramchip 9y ago
I think it’s just a bit badly worded. You don’t normally throw them away, you leave them in the queue for later.
For instance if you have a process that gets requests and writes stuff to DB, while processing a request you can send a message to the DB, then use a selective receive to match on the response from the DB while ignoring all other messages (you’ll deal with them later i.e. when you fetch the next request to process).