Are Multiple singleton instances possible in a shared DLL?

Posted by baris_a on Stack Overflow See other posts from Stack Overflow or by baris_a
Published on 2010-04-13T06:27:59Z Indexed on 2010/04/13 6:32 UTC
Read the original article Hit count: 139

Filed under:
|
|

I am going to develop a DLL, and suppose I have a singleton class in this DLL with some synchronization mechanism. And this DLL is used by other processes, namely EXEs. The question is: is this singleton created only once for all sharing processes or every process has its own singleton?

© Stack Overflow or respective owner

Related posts about c++

Related posts about dll