Skip to content

Conversation

@jperon
Copy link
Collaborator

@jperon jperon commented Apr 2, 2025

This PR adds:

  • options to make mailboxes non-blocking;
  • an alternative implementation using lunatik._ENV, so that it’s not necessary to pass the mailbox as an argument to the runtime:
inbox = require("mailbox").rcu_inbox
local box = inbox("my_test_msgbox")
outbox = require("mailbox").rcu_outbox
local box = outbox("my_test_msgbox")

@jperon jperon requested review from lneto and sav April 2, 2025 22:07
Copy link
Contributor

@lneto lneto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we have discussed the changes on this PR on the matrix room..

Add a rcu-based mailbox constructor to ease mailbox creation between runtimes,
and add the ability to create non-blocking mailboxes, suitable for non-sleepable
runtimes.
@jperon jperon marked this pull request as draft June 26, 2025 12:03
@lneto lneto force-pushed the master branch 2 times, most recently from 17ac113 to 925bfd9 Compare July 14, 2025 01:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants