xforms-development
[Top][All Lists]
Advanced

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

Re: [XForms] Is there interference between XForms running in different p


From: Werner Heisch
Subject: Re: [XForms] Is there interference between XForms running in different processes?
Date: Wed, 11 Jul 2018 05:31:11 +0200

Am Fri, 6 Jul 2018 17:43:39 -0700
schrieb Peter Rowat <address@hidden>:

> Should it be possible to have two or more processes, each running an
> XForms-based animation with a control panel ? Or would you expect
> some interference between different XForms invocations in different
> processes? 
> 
Hi Peter,
I have no experiece with this part of Xforms, but it reminds me to a
problem I have had in a no-Xforms program ( server-application )
about 30 years ago.

Also:  some milliseconds in setitimer.
after a while the operation stopped.
The time to fails was dependent from the processor speed. 
quick '486 .. some weeks
slower '486 .. 1..2 weeks
very slow '386 with havy system load: < 2 hours

As far as I remember, the problem has been a task change beween
setitimer() and signal(). setitimer has triggered the signal before
the signal has been defined.

I could solve the problem by using setjmp(). 

If it is possible to start your Xforms application only one time
while the system is working with havy system load, I think it would be
possible to detect if the problem comes from Xforms.

--- load.c ---
int main ( .. )
..
while (1) {
  fprint ("hallo\n")
} 

called (  > 10 ?) times and a very small time at setitimer should help
to investigate. 
For this test, your slowest computer would be the best. ( needs the
most time between setitimer() and signal().

Hope it helps.

Werner


> =====
> A rough description of my actual problem is here:
> 
> There are several animation displays in different processes each
> running their own XForms gui. Each animation has a control panel to
> adjust its’ geometry, using the same XForms invocation.   In
> addition, there is a compute intense data source in another process
> that feeds the animations via sockets, with an XForms gui for overall
> speed control.  
> 
> My problem is that sometimes the speed control becomes “dead” —
> unresponsive — and sometimes the animation controls become dead. I
> haven’t figured out why. Could it be due to interference between
> XForms running in different processes? I’m using setitimer as per the
> XForms manual pp. 300-301 to set the speed. 
> 
> Any suggestions?
> 
> Thanks in advance
> 
> Peter 
> 
> 
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]