[Glade-users] Re: running real time application behind glade

Aaron Yang porsche1904@yahoo.com
Mon, 1 Nov 2004 19:05:18 -0800 (PST)


--0-336826621-1099364718=:42149
Content-Type: text/plain; charset=us-ascii

hi, thanks for replying
 
  I was referring to both actually.
 
  For instance, when I start my glade program, a real-time counter begins in the background, so that it'll be displayed in my glade program, counting in 1 second interval.
  Then when I want to execute something in hard real-time, a signal is sent to the real-time to execute immediately.
  I've tried experimenting with rtlinux-3.2-pre2, but I can only do it in linux platform, and I'm trying to code it in main.c in my glade program... 
 
  do you know how I can for instance,
 
  insert an entry box in my glade window,
  then see a real-time counter, see a number in that box that increases from 0 onwards in 1 second interval, after executing the glade program?
  
  i've heard of clock.h, but I don't have any clues to go about doing it.
 
  thanks again.
 
regards,
aaron

Valdis.Kletnieks@vt.edu wrote:
On Mon, 01 Nov 2004 01:30:36 PST, Aaron Yang said:
> does anyone know how do I go about running a real
> time application after I executed a glade program?

Do you mean "real time" as in "the program is running at the same time as your
Glade program, and they interact back and forth", or do you mean the usual
computer-science meaning of the phrase "real time" as in "this program has
specific critical timing constraints" (such as if it doesn't respond to an
interrupt in 50 milliseconds, the chemical plant blows up)

Doing *real* "real-time" programming in the Linux kernel isn't as easy as it
looks, as there's lots of latency-inducing locks inside the kernel and the
like. Ingo Molnar has been doing some work in this area, but there's still
quite a ways to go before it's a hardened real-time operating system.



> ATTACHMENT part 2 application/pgp-signature 

			
---------------------------------
Do you Yahoo!?
 Check out the new Yahoo! Front Page.  www.yahoo.com/a
--0-336826621-1099364718=:42149
Content-Type: text/html; charset=us-ascii

<DIV>hi, thanks for replying</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; I was referring to both actually.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; For instance, when I start my glade program, a real-time counter begins in the background, so that it'll be displayed in my glade program, counting in 1 second interval.</DIV>
<DIV>&nbsp; Then when I want to execute something in hard real-time, a signal is sent to the real-time to execute immediately.</DIV>
<DIV>&nbsp; I've tried experimenting with rtlinux-3.2-pre2, but I can only do it in linux platform, and I'm trying to code it in main.c in my glade program... </DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; do you know how I can for instance,</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; insert an entry box in my glade window,</DIV>
<DIV>&nbsp; then see a real-time counter, see a number in that box that increases from 0 onwards in 1 second interval, after executing the glade program?</DIV>
<DIV>&nbsp; </DIV>
<DIV>&nbsp; i've heard of clock.h, but I don't have any clues to go about doing it.</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; thanks again.</DIV>
<DIV>&nbsp;</DIV>
<DIV>regards,</DIV>
<DIV>aaron<BR><BR><B><I>Valdis.Kletnieks@vt.edu</I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">On Mon, 01 Nov 2004 01:30:36 PST, Aaron Yang said:<BR>&gt; does anyone know how do I go about running a real<BR>&gt; time application after I executed a glade program?<BR><BR>Do you mean "real time" as in "the program is running at the same time as your<BR>Glade program, and they interact back and forth", or do you mean the usual<BR>computer-science meaning of the phrase "real time" as in "this program has<BR>specific critical timing constraints" (such as if it doesn't respond to an<BR>interrupt in 50 milliseconds, the chemical plant blows up)<BR><BR>Doing *real* "real-time" programming in the Linux kernel isn't as easy as it<BR>looks, as there's lots of latency-inducing locks inside the kernel and the<BR>like. Ingo Molnar has been doing some work in this area, but there's still<BR>quite a ways to go before it's a hardened real-time operating system.<BR><BR><BR><BR>&gt; ATTACHMENT
 part 2 application/pgp-signature <BR></BLOCKQUOTE><p>
	
		<hr size=1>Do you Yahoo!?<br> 
Check out the new Yahoo! Front Page. <a href="http://www.yahoo.com"> www.yahoo.com</a
--0-336826621-1099364718=:42149--