Skip to content

Commit 59d2f42

Browse files
committed
glossary: add TSOs
- required to land haskellfoundation#95
1 parent e4ead5d commit 59d2f42

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

conf.py

+1
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@
6161
extlinks = {'userGuide': ('https://downloads.haskell.org/~ghc/9.2.4/docs/html/users_guide/%s', '%s'),
6262
'ghcWiki': ('https://gitlab.haskell.org/ghc/ghc/wikis/%s', '#%s'),
6363
'haskellPerf': ('https://github.com/haskell-perf/%s', '%s'),
64+
'ghcSource': ('https://gitlab.haskell.org/ghc/ghc/-/blob/master/%s', '#%s')
6465
}
6566

6667
# prolog for colored text and global variables

src/glossary.rst

+9
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,15 @@ Glossary
377377
provides Haskell's laziness. See :cite:t:`SpinelessTaglessGMachine`
378378
Section 3.1.2 for more details.
379379

380+
Thread State Object (TSO)
381+
382+
A thread state object is a heap object that represents a Haskell thread in
383+
GHC's runtime system. For the precise contents please see its definition
384+
in :ghcSource:`GHC's source code
385+
<rts/include/rts/storage/TSO.h?ref_type=heads>` and `this description
386+
<https://youtu.be/5vKBFnTsCcE?si=4THBS_KMYRI6U1Sm&t=4620>`__ by Ben
387+
Gamari.
388+
380389
Top-Level
381390

382391
The most outer-most or global scope of the program.

0 commit comments

Comments
 (0)