cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
2,561 Views
Registered: ‎08-03-2009

code is not going to infinity loop

Hi

i compiled two code exmp1 and exmp2 and stored in usr folder in ramdisk

my main code

#include<stdio.h>

#include<stdlib.h>

int main(void)

{

while(1)

{

system("/usr/exmp1 &);

system("usr/exmp2 $);

}

return 0;

}

while run this code in Linux

i am getting exmp1 &exmp2 output once not in infinite loop

 

 

 

 

0 Kudos
Reply
1 Reply
Xilinx Employee
Xilinx Employee
2,527 Views
Registered: ‎09-10-2008

I would probably move this out to a non-Xilinx forum as it's not specific to Xilinx and is pretty general.

 

Thanks.

0 Kudos
Reply