D
dushkin
Hi,
I would like to run a singleton class as a thread.
The following statement fails to compile of course, because the class
ctor is private as the pattern requests...
new Thread(new MySingletonClass()).start();
Any help will be valuable!
Thanks.
I would like to run a singleton class as a thread.
The following statement fails to compile of course, because the class
ctor is private as the pattern requests...
new Thread(new MySingletonClass()).start();
Any help will be valuable!
Thanks.