Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
6381-kernel-Fix-spec-to-pg-handle_cast.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 6381-kernel-Fix-spec-to-pg-handle_cast.patch of Package erlang
From 34479d0d5f1377de02f8393adbbf525272edc664 Mon Sep 17 00:00:00 2001 From: Sverker Eriksson <sverker@erlang.org> Date: Mon, 7 Nov 2022 14:00:10 +0100 Subject: [PATCH 1/3] kernel: Fix spec to pg:handle_cast It only receives the 'sync' message. --- lib/kernel/src/pg.erl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/kernel/src/pg.erl b/lib/kernel/src/pg.erl index 017b1942b4..91df843361 100644 --- a/lib/kernel/src/pg.erl +++ b/lib/kernel/src/pg.erl @@ -339,10 +339,7 @@ handle_call(_Request, _From, _S) -> erlang:error(badarg). -spec handle_cast( - {sync, Peer :: pid(), Groups :: [{group(), [pid()]}]} | - {discover, Peer :: pid()} | - {join, Peer :: pid(), group(), pid() | [pid()]} | - {leave, Peer :: pid(), pid() | [pid()], [group()]}, + {sync, Peer :: pid(), Groups :: [{group(), [pid()]}]}, State :: state()) -> {noreply, state()}. handle_cast({sync, Peer, Groups}, #state{scope = Scope, remote = Remote, scope_monitors = ScopeMon, -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor