https://github.com/sysprog21/concurrency-primer
Concurrency Primer
https://github.com/sysprog21/concurrency-primer
Last synced: 8 months ago
JSON representation
Concurrency Primer
- Host: GitHub
- URL: https://github.com/sysprog21/concurrency-primer
- Owner: sysprog21
- License: cc-by-sa-4.0
- Created: 2024-04-01T21:40:48.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-01T06:42:42.000Z (over 1 year ago)
- Last Synced: 2025-05-08T23:53:58.003Z (8 months ago)
- Language: TeX
- Homepage:
- Size: 337 KB
- Stars: 94
- Watchers: 6
- Forks: 13
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Concurrency Primer
This repository contains the LaTeX source for a pretentiously-named,
but hopefully concise,
introduction to low-level concurrency.
## How do I build it?
Install a modern, Unicode-aware LaTeX, such as LuaLaTeX.
On Linux, this is usually as simple as installing the system TeX Live package, e.g., `texlive-base` or `texlive-core`.
The same package should also provide the `latexmk` script. (See below)
Install [pygments](http://pygments.org/), a Python syntax highlighter.
This is used by the LaTeX package [minted](https://ctan.org/tex-archive/macros/latex/contrib/minted/) to handle our syntax highlighting.
Build the document using
```shell
$ make
```
Note that `latexmk` will run LuaLaTeX multiple times, since TeX generates cross references in one pass, then links them in a second.
If you can't use `latexmk` for some reason, you can manually invoke
```shell
$ lualatex -halt-on-error -shell-escape concurrency-primer.tex
```
until it no longer warns, "Label(s) may have changed. Rerun to get cross-references right."
Enjoy a typeset `concurrency-primer.pdf`.