Retrieving per-process environment block?
Wed Nov 30 11:03:00 GMT 2016
On Nov 29 09:11, cyg Simple wrote:
> On 11/29/2016 8:26 AM, Erik Bray wrote:
> > I could do this, if each process kept a copy of its environment block
> > in shared memory, which would in turn have to be updated every time
> > the process's environment is updated. But I don't know what the
> > impact of that would be performance-wise.
> > Any advice?
> Sounds like a job for a thread that wakes every X time units to check
> the contents of the environment. Or is there a notification API that
> could be used to wake the thread? I know there is a disk change
> notification API for this; maybe one for environment changes as well.
Cygwin env == POSIX env != Windows env. Not only the content, but
also the internal memory handling is different.
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: not available
More information about the Cygwin