Panagiotis Issaris panagiotis.issaris at mech.kuleuven.ac.be
Mon Oct 18 20:35:04 CEST 2004

Gilles Chanteperdrix wrote:

>Panagiotis Issaris wrote:
> > > o I need to hit the ENTER key to get the output of the LXRT latency test
> > > (which meanwhile seems to be running in the background), while it's not
> > > necessary for the UP test. It looks like the output is being piped and
> > > buffered, but I'm not sure of this. Is it?
> > I'm piping the output of "rtai-load" to "tee" to be able so see the 
> > output while it's running while capturing it to a file as well. 
>Maybe the latency test is the culprit, could you try and add a call to
>setvbuf near the beginning of the program, before the first call to
>printf, in order to make it line buffered ?
I used the setlinebuf(stdout) call, and it seems to have
fixed it. Thanks for the suggestion!

With friendly regards,

Panagiotis Issaris
Katholieke Universiteit Leuven
Division Production Engineering,
Machine Design and Automation
Celestijnenlaan 300B              panagiotis.issaris at mech.kuleuven.ac.be
B-3001 Leuven Belgium                 http://www.mech.kuleuven.ac.be/pma

More information about the Rtai mailing list