TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: Neil Heller
from: Darin McBride
date: 2004-11-10 08:09:46
subject: Creating a singleton

Hello Neil!

Replying to a message of Neil Heller to Bo Simonsen:

 NH> A singleton is one of the design patterns.  As the name implies, there 
 NH> is only one instance (at most) of it created.  You can think of it in 
 NH> the same way you might think of a DLL.

A DLL can be a singleton for an entire system, but requires a lot more
thought about how to control access, especially using semaphores.

Darin

---
* Origin: Tanktalus' Tower BBS (1:250/102)
SEEN-BY: 633/267 270
@PATH: 250/102 99 10/345 106/1 2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.