Support for process aliases and erlang:monitor/3

Aperta
#1,960 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
erlang
Ambito
backend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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 ;)

Lingua principale
Erlang
Stelle
2.3k
Fork
171
Merge medio
5g 11h
PR unite (30g)
19

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di atomvm/AtomVM

Tutte le issue di atomvm/AtomVM

Issue simili

Altre issue su Backend & API Design

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.