Daily Archive: March 15, 2020

0

Mutex and Atomics

To protect value with a simple mutex. The other way is using unique_lock but it locks threat critically New Memory model Atomic Atomic brings us a secure model to reach data on memory. However,...

0

Threat

In C++ you can provide concurrency by using threat. join method creates waiting for the main thread. But detach stop connection between the main thread and created child thread. Passing argument You can also...

0

Lambda

Lambda is a method to create a function object in C++. The basic structure is: To get the type of the lambda; You may mention that lambda is a function object. If you using...

0

Boris Jhonson and Coronavirus

Here, in Great Britain, nobody knows what will happen to us. We live in the corona attack and Mr Jhonson’s careless approach. As a Turkish guy, I don’t clearly understand why these English Politicians...