Hi Stephane,
On the user side, I was just calling some simple functions which I defined
to do some repetive work.  On the RT side, I just have one periodic task
running,
which does a pthread_wait for the next period.
I have now found that the user side seems to hang at other times. Its pretty
random though. I believe it
all has to do somehow with interrupting X calls.  Do you have any experience
with
running X under rtlinux?  I have work with X many times in a non RT
environment and
have not had these problems. Is there a better alternative to running X for
doing graphical
stuff under RT linux.

Any info would be appreciated.

Dan

Stephane List wrote:

> Which function are you calling ? RT functions ?
>
> On Thu, Aug 16, 2001 at 10:23:09AM -0700, Dan Peters wrote :
> > Hi,
> > I have a real time task running at 4 hz, which records some data and
> > sends it to the
> > user program for display.  The user program has a couple of pthreads,
> > and is also displaying images from a frame grabber
> > using Xlib.   I have found that if I try to make locally defined
> > function calls, the user space program randomly hangs exactly at
> > the call, and does not enter the function.  The real-time stuff keeps on
> >
> > working fine.  I am forced to put everything inline to prevent
> > this.  Has anybody had this problem, and if so is there a fix?
> >  I am using the RTlinux v3.0 CD distribution.
> >
> > thanks,
> > Dan Peters
> >
> > -- [rtl] ---
> > To unsubscribe:
> > echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> > echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> > --
> > For more information on Real-Time Linux see:
> > http://www.rtlinux.org/
> >
>
> --
> St�phane LIST                     -- <[EMAIL PROTECTED]>
> Alc�ve, l'informatique est libre  -- <http://www.alcove.com/>
>
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> --
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/

Reply via email to