mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
std::set hello world example
This commit is contained in:
@@ -14068,6 +14068,8 @@ Programs under link:userland/cpp/[] are examples of https://en.wikipedia.org/wik
|
||||
** link:userland/cpp/temporary_directory.cpp[]: illustrates `std::filesystem::temp_directory_path` and answers https://stackoverflow.com/questions/3379956/how-to-create-a-temporary-directory-in-c/58454949#58454949
|
||||
* random
|
||||
** link:userland/cpp/random.cpp[]
|
||||
* containers
|
||||
** link:userland/cpp/set.cpp[]: `std::set` contains unique keys
|
||||
|
||||
[[cpp-multithreading]]
|
||||
==== C++ multithreading
|
||||
@@ -18701,7 +18703,7 @@ Notably, global monitor operations on memory accesses of regions marked by <<arm
|
||||
|
||||
This is done to allow spinlocks opens to automatically wake up WFE sleeping cores at free time without the need for a explicit SEV.
|
||||
|
||||
In the shown in the `wfe_ldrex_strex.cpp` example, which can only terminate in gem5 user mode simulation because due to this event.
|
||||
In the shown in the `wfe_ldxr_stxr.cpp` example, which can only terminate in gem5 user mode simulation because due to this event.
|
||||
|
||||
Note that that program still terminates when running on top of the Linux kernel as explained at: <<wfe-from-userland>>.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user