Skip to content

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

Notifications You must be signed in to change notification settings

sheikhazad/Singleton_Thread-Safe-Multiple-Solutions

Repository files navigation

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages