AS refers to advance server
Type: Posts; User: molus
AS refers to advance server
Hi,
I need to write a peice of code which is different in Linux AS2.1 and AS3.0. Both are 32 bit m/cs. How can i identify it??
Thanks in adv,
Molu
Solution Found.
We need to include "-mt" flag too. It internally includes -lpthread
When "aCC -mt Sample.cpp" is executed, it works properly!
Hi,
I am facing this weird problem. When the sample pgm given below is compiled with -lpthread
option, the pgm gives seg fault on HP-UX 11iv2
The compiler used is "HP aC++/ANSI C B3910B...
Well, my doubt was that why does the creation of static var in getInstance func() & returning it not be used for multi threading, In this way the destructor need not be called.
Whereas if i use the...
Hello,
got a C++ doubt..
normally Singleton class is written like
Sing.h
==========
class Sing{
private:
Sing();
static Sing* instance;