Spinroot

A forum for Spin users

You are not logged in.

#1 2021-12-29 19:28:57

jllang
Member
From: Finland
Registered: 2021-05-05
Posts: 27

Identifying channels

Is it possible to uniquely determine a channel by its name, which should suffice for global channels, and possibly also by the name and PID of the process owning the channel in case it's a local channel? Especially, do we need channel identification numbers?

Offline

#2 2022-01-05 11:31:45

jllang
Member
From: Finland
Registered: 2021-05-05
Posts: 27

Re: Identifying channels

Is it possible that channel identification numbers change during execution?

Offline

#3 2022-03-01 19:16:33

spinroot
forum
Registered: 2010-11-18
Posts: 691
Website

Re: Identifying channels

a channel name is a variable that can hold the id of an instantiated channel
the same channel name could, for instance, be reassigned the id of different channels
at different points in a run
for a given instantiated channel, the id number does not change, but a channel variable
can hold any channel id at different points in it's use

Offline

Board footer

Powered by FluxBB