# Linux Kernel Module Cheat
The perfect emulation setup to study and develop the <<linux-kernel>> v5.9.2, kernel modules, <<qemu-buildroot-setup,QEMU>>, <<gem5-buildroot-setup,gem5>> and x86_64, ARMv7 and ARMv8 <<userland-assembly,userland>> and <<baremetal-setup,baremetal>> assembly, <<c,ANSI C>>, <<cpp,C++>> and <<posix,POSIX>>. <<gdb>> and <<kgdb>> just work. Powered by <<about-the-qemu-buildroot-setup,Buildroot>> and <<about-the-baremetal-setup,crosstool-NG>>. Highly automated. Thoroughly documented. Automated <<test-this-repo,tests>>.

### 27.5. Userland multithreading

The following sections are related to multithreading in userland:

- language topics:

  - C multithreading

  - C++ multithreading

  - pthreads

- ISA topics:

  - x86 thread synchronization primitives

  - ARM thread synchronization primitives

    - ARM LDXR and STXR instructions

    - ARM Large System Extensions (LSE)

- emulator topics:

  - QEMU user mode multithreading

  - gem5 syscall emulation multithreading