Threads Sharing Data

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

Read more
Comments 5Views: 24596

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
Comments 2Views: 11836

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
Comments 24Views: 19722

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)

Subscribe to the newsletter (+ pdf bundle)

Blog archive

Source Code

Visitors

Today 612

All 2916408

Currently are 127 guests and no members online

Kubik-Rubik Joomla! Extensions

Latest comments