The shared_future object works similar to std::future except that it can be copied and thereby more than one std::future can share the ownership. The use
Author: nectarpost
Detail understanding and usage of std::async in C++ 11
Agenda: Introduction to std::async. Accessing the shared state of the future. Get a value from parent to child- Full filling promise. set_exception – failed to
Multithreading in C++
Introduction : The std::thread class was introduced in C++ 11 to facilitate multithreading. POSIX (Pthread thread ) library in C or Win32 threads (CreateThread AfxBeginThread)
Asynchronous packaged_task in C++ 11
Defination of packaged_task : The class template packaged_task wraps any Callable target, which can be invoked later. The callable objects can be function, lambda expression,
Exception Handling in C++
Topics Covered: Introduction. Stack unwinding. Stack unwinding and dynamic memory allocation. Nested exception handling. Error handling in constructor and destructor. noexcept keyword in c++. 1.
Static Constructor in C#
A static function is used to initialise any static data or to make a single-use action. Before the first instance is created or any static
Coalescing operator?? in C#
If the left-hand operand is not null, the null-coalescing operator?? returns its value; otherwise, it evaluates the right-hand operand and returns its result. If the
Day2: FAQ Interview questions – Coding
This is 2nd Day, where I have covered few major areas to cover most of the FAQ questions during the coding interview.Feel free to ask
Day1: FAQ Interview questions – Coding
This complete series of interviewing questions are divided into days for easy and better understanding. Follow the Day pattern and practice coding as much you