diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2018-09-23 19:34:01 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2018-09-23 19:34:01 -0700 |
commit | 1fb94cc5ec1c0e3ef694b3204afa1500f65dc2f0 (patch) | |
tree | bd8aef1f3693bf3cb6d569730999e2bef606b38f /libthunk | |
parent | 6d8418dbd0269f2db372902c2d1da7dc1873302b (diff) |
libpulp: drop pulp_t from pulp_fiber_get_mailslot()
This function doesn't need to know the pulp instance, and it's
awkward in scenarios involving multiple pulp instances.
The mailbox api is entirely compatible with passing messages
between fibers across disparate pulp instances. In such
scenarios, it's unobvious which pulp instance you'd supply to
this function - the sender or the recipient's? Well, neither!
This way you just supply the destination/recipient's fiber, and
it returns the mailslot if the fiber accepts mail.
Diffstat (limited to 'libthunk')
0 files changed, 0 insertions, 0 deletions