In my stackless application I'd like to have Erlang style message box queues. Instead of mandating that sending tasklets are blocked until the receiving tasklet is ready to receive, I'd like to have the sending tasklet to queue up the message in the receiver's message box, and be able to wake the receiver if it's sleeping.
The sending tasklet should be able to send a message and then continue executing, regardless of the state of the receiving tasklet.
I'm sure there's a way to do this, I just haven't found it yet...