Take Up Code
104: Multithreading. Singleton Mistakes.
- Autor: Vários
- Narrador: Vários
- Editor: Podcast
- Duración: 0:11:45
- Mas informaciones
Informações:
Sinopsis
There is a big problem with Singletons especially in the C++ language. It is not obvious how to get them to work with multiple threads. You want one instance in your entire application and how do you handle the race condition when multiple threads ask for the instance at the same time?