perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brian moseley <...@maz.org>
Subject Re: [ANNOUNCE] Apache::Singleton 0.03
Date Sat, 22 Dec 2001 14:04:28 GMT
On Sat, 22 Dec 2001, Tatsuhiko Miyagawa wrote:

>         Note that multiple process cannot share blessed reference without
>         serialization, so *One instance for one server* is just an idea.
>         What it means is, one instance for one process, and multiple
>         instances with shared data across one server. See t/05_server.t in
>         this module distribution for what it exactly means.

hmm.. it looks like for the server-scoped singleton, the
process-cached version will be returned by _get_instance
even if the shared-memory-cached version was modified by
another process since the last time _set_instance was called
in the first process. is this really what you want?


Mime
View raw message