On 06/14/2015 12:03 AM, Paolo Bevilacqua wrote:
I got close to get persistent variables by setting all Server values to
1, but still a new process is forked occasionally, because it seems like
Apache lives by that.
One possibility of limited complexity and no disk access would be using
the Apache env variables.
I see how to access them in Rivet, but not how to set ?

Frankly Paolo, I don't understand your goal now. What are you trying to achieve exactly?

Changing an environment variable in a process would not affect the same variable in the parent and other children's environment. The good old VAX/VMS system developed by DEC had system wide environment variables but they had no locking mechanism and updating them required specific privilege usually not granted to the application level. And even if you foolishly granted this privilege you had the problem of finding a way to synchronize the access to them through some locking mechanism, which would bring you back to the problem of finding a consistent IPC mechanism.

But after all I didn't understand how you hoped to get system wide symbols by using Tcl global variables

 -- Massimo


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to