sheikhazad / Singleton_Thread-Safe-Multiple-Solutions

Implementation of thread safe Singleton: Solution-1: By using mutex and atomic Solution-2: By using call_once and lambda function

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Singleton_Thread-Safe-Multiple-Solutions

Implementation of thread safe Singleton:
Solution-1: By using mutex and atomic
Solution-2: By using call_once and lambda function

About

Implementation of thread safe Singleton: Solution-1: By using mutex and atomic Solution-2: By using call_once and lambda function


Languages

Language:C++ 100.0%