Forum Discussion
Altera_Forum
Honored Contributor
20 years agocan't work as my think
Hi hippo. In a cgi program,I want to use one process to sent HTML page to answer IE as quickly as possible, and another process to execute local control. And they are happend almost at the same t...
Altera_Forum
Honored Contributor
20 years ago --- Quote Start --- originally posted by zzh+jun 3 2006, 01:34 pm--><div class='quotetop'>quote (zzh @ jun 3 2006, 01:34 pm)</div>
--- quote start ---
<!--quotebegin-sdhnain@Jun 3 2006, 07:12 AM
by writing there code sequentialy !
if you want multitasking it's better to use an rtos rather than µclinux,
with an rtos u can create tasks and assign them preorities, then the job is done by the scheduler.
good luck
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=15823)
--- quote end ---
--- Quote End --- I want to complete it based on uclinux and it can be done with uclinux. I just don't know how to. <div align='right'><{post_snapback}> (index.php?act=findpost&pid=15825)</div> [/b] --- Quote End --- ok ok, u want to let the IE user know that a button was pressed, and at the same time service the interuption, well, as I had understand, the HTML response take no significant time. ok, to overcome the problem with child and parent process, try this : <div class='quotetop'>QUOTE </div> --- Quote Start --- write a c code that do controls, compile it to produce a .exe and put it in /bin folder to be know as a commande lets say "control.exe". in your cgi script invok the control code by the C primitive system : system("control"); and then write your HTML response code.[/b] --- Quote End --- I think with this method the control.exe will execute in the background. but I still don't understand why it won't work with process http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/blink.gif best regards http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/biggrin.gif