Designing a Thread Pool Framework Part 1: What’s the need of a Thread Pool
In this we will discuss what is a Thread pool and why do we need Thread Pools.
Designing a Thread Pool Framework Part 1: What’s the need of a Thread Pool Read More »
In this we will discuss what is a Thread pool and why do we need Thread Pools.
Designing a Thread Pool Framework Part 1: What’s the need of a Thread Pool Read More »
In this article we will discuss what is a deque and how it works internally.
What is std::deque and how deque works internally. Read More »
In this article, we will discuss what C++11 Lambda Functions are and how to use Lambda Functions as callbacks. Also, what new things were added in Lambda Functions in C++14 / 17. What is a Lambda Function? Imagine a lambda function as a regular function with a twist: it can accept arguments and return results
Lambda Functions in C++ Read More »
In this article we will discuss, what is a Function Object, why do we need function objects and how to use function objects as Callbacks.
Designing Callbacks in C++ – Part 2: Function Objects & Functors Read More »
In this article we will discuss what is a callback and what types of callbacks we can have in C++ and how to Design Callbacks as function pointers.
Designing Callbacks in C++ – Part 1: Function Pointers Read More »
In this article we will discuss what is Memory Leak C++ and why its harmful for applications.
What is a Memory Leak in C++ ? Read More »
A std::future object can be used with asych, std::packaged_task and std::promise. In this article will mainly focus on using std::future with std::promise object.
In this article we will discuss the iterator invalidation with respect to std::vector in C++. What is Iterator Invalidation? An Iterator becomes invalidate when the container it points to changes its shape internally i.e. move elements from one location to another and the initial iterator still points to old invalid location. Iterator invalidation in vector
c++ std::vector and Iterator Invalidation example Read More »
We can use vector efficiently by taking care of following points,
How to use vector efficiently in C++? Read More »
In this article we will discuss the usage of Condition Variable in C++11 Multi-threading with example.
C++11 Multithreading – Part 7: Condition Variables Explained Read More »