Threads Sharing Data

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

Read more
Views: 42808

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: 21336

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: 28490

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

Interactive Course: The All-in-One Guide to C++20

Subscribe to the newsletter (+ pdf bundle)

Blog archive

Source Code

Visitors

Today 7196

Yesterday 7224

Week 29195

Month 34460

All 6892669

Currently are 156 guests and no members online

Kubik-Rubik Joomla! Extensions

Latest comments