ostep-code
ostep-code copied to clipboard
Code from various chapters in OSTEP (http://www.ostep.org)
It might be helpful for contributors to see the source code for the website, in case we want to add a night theme, or edit the titles of `.pdf`s to...
Chapter 1 of the book uses the program "thread" (singular), while the code in this repository is in a file called "threads" (plural). I would suggest fixing either here (which...
`stddef.h` is needed for `NULL`.
The `uname --machine` bit returns something like `armv7l` on ARM systems such as the Raspberry Pi, and this doesn't work -- but using `linux32` instead does.
00000
The current mem.c file is out of date with the book v1.0.1. This pull request aims to keep it in sync with the book.
In [common_threads.h](https://github.com/remzi-arpacidusseau/ostep-code/blob/master/include/common_threads.h), why are some of the macros duplicated—e.g. `Pthread_mutex_lock` and `Mutex_lock`?