2 ms·
You can cast or call ( non blocking, or blocking) you can do either.
by worthless-trash 1y ago
You can cast or call ( non blocking, or blocking) you can do either.
- signa11 1y agohow would you get a deadlock with non-blocking requests ?
- worthless-trash 1y agoI never said you did ?
- signa11 1y agonot you per-se no. but this whole thread started with deadlock on remote calls, and i was curious about how that could be with async calls.
- worthless-trash 1y agoOh, I think that the mailbox access a process has can wont block unless its full, in which case the message will be dropped. I think you can check message_queue_len using erlang:process_info/2 to find the mailbox size and simply back off, or fail noisly.