start moving malloc and friends in

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-08-11 00:00:00 +00:00
parent 975b15b814
commit d7a24ea200
25 changed files with 222 additions and 26 deletions

View File

@@ -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

View File

@@ -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>