Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - gaidam

#1
Thanks a lot! But... Maybe I do something wrong... How can I start another newlisp script in parallel with http-server? Is there the only solution if I have previously started separated "worker process" to wait for my controlling signals from cgi scripts? It's seems a bit tricky for me, because in our server we use feature of "idle processes" widely. Would You recommend something simpler? (I understood about using "-w" flag, thanks again).
#2
Hello,



I have some problem with concurrent processes under Win32.



For my program, I run newlisp as http-server like this:

newlisp -c -d 8085 -w

Everything is ok, all cgi's working ideally.



The problem arised when I tried to put more parallelism into my program.

I have one long process and I'd like to start it from cgi-script to run at the same time as the main program.

I've tried to create new process with the code below:

(process "newlisp.exe my-proc.lsp")

This is really non-blocking call, and (process) returns immediately.

What is worse is I don't get response from cgi script till my-proc.lsp finished.

It is strange, because all of cgi-script's functions are finished working normally, as I checked.



Does anybody know how to solve the problem?