comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: global singleton object ?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: global singleton object ? [message #26972 is a reply to message #26874] Wed, 03 October 2001 10:36 Go to previous message
Pavel A. Romashkin is currently offline  Pavel A. Romashkin
Messages: 531
Registered: November 2000
Senior Member
> As for why a singleton is useful, just wait til IDL is multithreaded. When
> you
> have multiple processes that need acces to information (info that can be
> changed by the user) then a singleton object is very nice! Very Very Nice.

That probably will depend on what is allowed to be global between the
threads. My singleton relies on a function being global, and heap memory
addresses being global, too. Will each thread use separate heap
addressing? Now, that and the synchronization of the threads is a
separate can of worms that I have no knowledge about. It is almost the
same as distributed computing, isn't it?

Pavel
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Using IDL with Java
Next Topic: Re: happy palindrome day - and a challenge

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 03:53:25 PDT 2025

Total time taken to generate the page: 1.36067 seconds