Forum Discussion
Altera_Forum
Honored Contributor
17 years agoRAM error?
Hello champs, I am running two applications. And each one of them calls the other. It all seems fine until on the 13th loop or so it does this. I'm sorry if the code post is too long, but I gue...
Altera_Forum
Honored Contributor
17 years ago <div class='quotetop'>QUOTE </div> --- Quote Start --- I suppose you need to rethink the general structure of the project and use either a single (i.e. threaded) program or use two programs that keep running (daemons) and communicate by stuff like pipes or shared memory.[/b] --- Quote End --- Ok, A single threaded program would then be one routine that fills one buffer at the same time, but WITHIN the same program, instead of using two programs. This would only assign and call one program instead of repeatedly closing and opening them. This would eliminate a big part of overhead at starting processes ? <div class='quotetop'>QUOTE </div> --- Quote Start --- You can create an "ftpput-deamon" or integrate ftpput in your program. FTP is not a complicated protocol and moreover you can take a look at the ftpput sourcecode, I suppose there are libraries you can use.[/b] --- Quote End --- I've found the source file por perl. I am trying to test and translate whichever needs to be changed to be compatible with the shell. I am still new to this but making a big effort to get it done. I suppose the souorce file is then compiled as a regular program with the nio2-linux-uclibc-gcc command?