Support for process aliases and erlang:monitor/3

オープン
#1,960 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
erlang
領域
backend

調査の方向性

Read the Erlang documentation linked for process aliases, unalias/1, and monitor/3, then inspect AtomVM’s process and monitor implementation to identify the relevant entry points. Determine what support is needed for aliases and monitor/3, and compare the behavior with the OTP gen:call and Elixir Task.async use cases cited in the issue. Done means AtomVM supports the described semantics; the issue does not name specific files or tests.

索引モデルが issue の本文から書いたものです。

説明

In short, process aliases make it possible to create a reference that can be used to send messages to a process. The important feature is that when alias is removed, the messages sent via it no longer reach the aliased process. Aliases are used by erlang:monitor/3, which creates a monitor and alias at the same time, and this is used in two important places:

  • OTP's gen:call, to ignore replies after a call timeouts
  • Elixir's Task.async, for Task.ignore and possibly more

Thus, for us it's quite important that AtomVM supports it. As always, happy to contribute and looking forward to your guidance ;)

主要言語
Erlang
スター
2.3k
フォーク
171
平均マージ
5日 11時間
マージ済み PR(30日)
19

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

atomvm/AtomVM のほかの issue

atomvm/AtomVM の issue をすべて見る

似ている issue

Backend & API Design の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。