# Linux Kernel Module Cheat

#### 27.3.4. C++ multithreading

- `<thread>`

  - userland/cpp/count.cpp Exemplifies: `std::this_thread::sleep_for`

  - userland/cpp/thread_hardware_concurrency.cpp `std::thread::hardware_concurrency`

  - userland/cpp/thread_get_id.cpp `std::thread::get_id`

  - userland/cpp/thread_return_value.cpp: how to return a value from a thread

- `<atomic>`: C++17 N4659 standards draft 32 "Atomic operations library"

- atomic.cpp

- C++ std::memory_order

- C++ parallel algorithms

- C++17 N4659 standards draft