Threads Sharing Data

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

Read more
Views: 32800

Thread Arguments

A thread gets its data by copy or by reference. Per 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: 15112

Threads Lifetime

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

Read more
Views: 23409

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 3308

All 4182115

Currently are 160 guests and no members online

Kubik-Rubik Joomla! Extensions

Latest comments