Threads Sharing Data

One of the biggest challenges of thread-management begins when the threads share non-const data

Read more
Views: 41739

Thread Arguments

A thread gets its data by copy or by reference. By default, you should use by copy. Why? In case your thread gets its data by reference, you have to be extremely careful about the lifetime of the arguments.

Read more
Views: 20736

Threads Lifetime

The parent has to take care of their child. This simple idea has big consequences for a thread lifetime. The following program starts a thread, that displays its ID.

Read more
Views: 27920

My Newest E-Books

Course: Modern C++ Concurrency in Practice

Course: C++ Standard Library including C++14 & C++17

Course: Embedded Programming with Modern C++

Course: Generic Programming (Templates)

Course: C++ Fundamentals for Professionals

Subscribe to the newsletter (+ pdf bundle)

Blog archive

Source Code

Visitors

Today 1097

Yesterday 7436

Week 30802

Month 171009

All 6611090

Currently are 234 guests and no members online

Kubik-Rubik Joomla! Extensions

Latest comments