Re: How to synchronize a service

2007-09-13 Thread Manuel Sugawara
"Renat Zubairov" <[EMAIL PROTECTED]> writes: > Hi > > If you are refering to a "service" as a hivemind service, then you can > hava look on the service modles which are threaded, pooled, primitive > and singleton. Yes, as a hivemind service. Didn't know of the different models tough. I guess I h

Re: How to synchronize a service

2007-09-12 Thread Renat Zubairov
Hi If you are refering to a "service" as a hivemind service, then you can hava look on the service modles which are threaded, pooled, primitive and singleton. Singleton service model will ensure that only one instance of service exists. After you know that you can synchronize part of the code whi

Re: How to synchronize a service

2007-09-12 Thread Manuel Sugawara
Manuel Sugawara <[EMAIL PROTECTED]> writes: > So, can I safely assume that there is only one instance of the > service running? No, of course not. For set-object to work there should be an instance for client. Regards, Manuel.