Re: Multiple DCOP sessions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2023-05-01 20:25:55 E. Liddell via tde-users wrote:
> On Mon, 1 May 2023 17:30:24 -0500
>
> J Leslie Turriff via tde-users <users@xxxxxxxxxxxxxxxxxx> wrote:
> > > Unless you have reason to think that the presence of the unresponsive
> > > session has broken something, I would just leave this one alone.  I
> > > don't think you're going to get zombie sessions multiplying out of
> > > bounds or anything like that.
> >
> > 	So, when scripting, how does one know which one to avoid?  If one picks
> > the wrong one it hangs the session.
>
> Scripting's a bit of an unusual use case.  Does passing --all-sessions
> still result in a hang?  Is there a pattern to which session is
> unresponsive (always the first, or always the second), or is it random?
	No, no.  --all-sessions always succeeds, but then there is no way to determine if one of
the sessions that it returns is dead or not, except by sending a message to each.
If I send a message to one that is dead the script will hang.
	It would be nice if it returned a status code (or anything) instead of hanging.
>
> I suppose you could fork off two instances of a simple test and see which
> one exits and which hangs (and then kill the hanging one), but that's more
> of a kludge than a solution . . .
	I agree.
>
> E. Liddell

Leslie
--
Platform:		GNU/Linux
Hardware:		x86_64
Distribution:		openSUSE Leap 15.4
Desktop Environment:	Trinity
	Qt:		3.5.0
	TDE:		R14.0.13
	tde-config:	1.0
____________________________________________________
tde-users mailing list -- users@xxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxx
Web mail archive available at https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@xxxxxxxxxxxxxxxxxx



[Index of Archives]     [Trinity Devel]     [KDE]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]     [Trinity Desktop Environment]

  Powered by Linux