A
Alamelu
Is the below code thread safe, in multithreaded environments will a race
condition happen as we are using static
Singleton* Singleton::Instance ()
{
static Singleton s;
return &s;
}
Regards,
Alamelu
condition happen as we are using static
Singleton* Singleton::Instance ()
{
static Singleton s;
return &s;
}
Regards,
Alamelu