mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
start moving malloc and friends in
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// https://github.com/cirosantilli/linux-kernel-module-cheat#cpp-multithreading
|
||||
// https://cirosantilli.com/linux-kernel-module-cheat#cpp-multithreading
|
||||
//
|
||||
// The non-atomic counters have undefined values which get printed:
|
||||
// they are extremely likely to be less than the correct value due to
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Count to infinity sleeping one second per number.
|
||||
//
|
||||
// https://github.com/cirosantilli/linux-kernel-module-cheat#cpp-multithreading
|
||||
// https://cirosantilli.com/linux-kernel-module-cheat#cpp-multithreading
|
||||
|
||||
#include <chrono>
|
||||
#include <thread>
|
||||
|
||||
Reference in New Issue
Block a user