in reply to Re: what is the real scope of a singleton
in thread what is the real scope of a singleton
Yea, I guess.. serialize it.. maybe seek memory somehow- for a live instance of this- how to go about it is way beyond me.
I think simply using cache in this case- there is no way you could keep various instances in sync without molesting the system resources. We're not talking about storing some value of some expensive operation to a timeframe resolution- but .. an instant kind of .. storage.
I guess this is more an ipc thing.
Dunno, daemonizing or using some witchy pipe or some other posix conjuration.
But yea- as the original post- I don't think this kind of behaviour is something you would want to have happen without being fully aware of what's up- every process on the system accessing the same chunk of memory space- very insteresting though.
Thanks for clarifying, you rock.
|
|---|