Skip to content

Commit f42fb23

Browse files
committed
Merge pull request #1700 from petermm/process.ex-un/link
Process.ex link/1 and unlink/1 These changes are made under both the "Apache 2.0" and the "GNU Lesser General Public License 2.1 or later" license terms (dual license). SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
2 parents 3e2e1a9 + 8633b99 commit f42fb23

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4848
- Added CodeQL analysis to esp32, stm32, pico, and wasm workflows
4949
- Added Function.ex and Protocol.ex improving Elixir 1.18 support
5050
- Added WiFi support for ESP32P4 via esp-wifi-external for build with ESP-IDF v5.4 and later
51+
- Added Process.link/1 and unlink/1 to Elixir Process.ex
5152

5253
### Changed
5354

libs/exavmlib/lib/Process.ex

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,12 @@ defmodule Process do
231231
@spec list() :: [pid]
232232
defdelegate list(), to: :erlang, as: :processes
233233

234+
@spec link(pid | port) :: true
235+
defdelegate link(pid_or_port), to: :erlang
236+
237+
@spec unlink(pid | port) :: true
238+
defdelegate unlink(pid_or_port), to: :erlang
239+
234240
@doc """
235241
Register a PID or port identifier under `name`.
236242

0 commit comments

Comments
 (0)