Re: [Fresco-devel] kit destruction not informing the server?

Nick Lewycky <[email protected]>
Newsgroups gmane.comp.video.fresco.devel
Message-ID <[email protected]>
Should the server even be loading all of the kits at startup? Couldn't 
they just be loaded on demand? Making the server store the prototype and 
having each ServerContext clone it seems a bit unusual. You make it 
sound as if this bug could be fixed by ensuring that the server loads 
the PSDrawingKit on startup along with the other Kits... if that's 
correct, it would be the best fix for the release.

Stefan Seefeld wrote:
> Btw., the ServerContext is not a singleton. The server instantiates one
> ServerContext per client, so it can do all the authentication and security
> checks for it, and then deals with the bookkeeping for the objects that are
> created on behalf of that client (in particular the kits).

Fine, but when two clients ask for a Kit, don't they get a reference to 
the same Kit? Ergo, the list of loaded kits should be maintained by a 
singleton. The server perhaps?

Nathaniel Smith wrote:
 > BTW, why isn't this in the bug tracker? :-)

Because I thought we weren't supposed to file Real Bugs in it until 
Monday. For some reason. And I can't even find the post I thought 
supported my position. Instead I find Stefan Seefeld saying "I believe 
the tool is getting reasonably useable to officially start using it." So 
I guess that makes the answer to your question, "because I'm an idiot?" ;-)

Nick Lewycky
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.