Commit Graph

24 Commits

Author SHA1 Message Date
Carl Fredrik Samson
2fc79a9e03 added playground links to show problem using thread park/unpark 2020-04-14 00:37:03 +02:00
Carl Fredrik Samson
d9eb756ef7 Added Bonus Section implementing a proper Parker
The problems addressed in the earlier version led to an "incorrect"
example which is bad to pass along after reading a whole book. after
getting some feedback in #2 i decided to show how we can create a
proper `Parker`.

The main example (which I assume most interested readers will copy) now
uses a proper parking thechnique so there should be no more dataraces
left.

I also removed the "Reader Excercise" paragraph suggesting that they
explore a way to implement proper parking since we now show that in
our main example.
2020-04-13 14:16:32 +02:00
Carl Fredrik Samson
02bb33c6b6 minor fixes to the debug printout of the main example 2020-04-11 00:23:39 +02:00
Carl Fredrik Samson
dbf8395bc0 merged with latest changes and made some additional corrections 2020-04-10 20:39:35 +02:00
Carl Fredrik Samson
32bedb934c several improvements, see #2 for more details 2020-04-10 20:26:41 +02:00
Carl Fredrik Samson
a90ff78349 some minor formatting updates 2020-04-09 00:43:25 +02:00
cfsamson
f99523aaf5 final audit pass with minor changes 2020-04-07 11:13:17 +02:00
cfsamson
0e57808ac6 audit pass conclusion 2020-04-06 17:01:34 +02:00
Carl Fredrik Samson
15d7c726f8 finished book!!!!!! 2020-04-06 01:51:18 +02:00
Carl Fredrik Samson
406804cebc merged version3, almost finished but want inspect rendered version 2020-04-05 17:10:38 +02:00
Carl Fredrik Samson
6dd1e96751 Merge branch 'version3' 2020-04-05 17:10:01 +02:00
Carl Fredrik Samson
0d0c265dc7 finished background information 2020-04-04 23:40:48 +02:00
Carl Fredrik Samson
7f7fe098f3 version3 start 2020-04-01 22:56:43 +02:00
Carl Fredrik Samson
aacb3683a0 passing tests on latest nightly 2020-02-25 19:02:19 +01:00
Carl Fredrik Samson
70c4020059 continued version 2 2020-02-24 23:25:48 +01:00
Carl Fredrik Samson
f9d3530949 fixed minor differences between 'compiled' generators and the example used. Added bonus section to prove it works 2020-02-05 22:59:50 +01:00
cfsamson
6dd174c9e1 changed example 2020-02-05 10:11:21 +01:00
Carl Fredrik Samson
4af2fc03e6 added spawn chapter to main example 2020-02-04 01:31:02 +01:00
Carl Fredrik Samson
49fe0ad893 spellcheck intro + 3 first chapters 2020-02-02 18:54:28 +01:00
Carl Fredrik Samson
4ebe6da709 reformatted summary 2020-02-01 18:46:16 +01:00
Carl Fredrik Samson
95314dd35d made a theme which shows code comments clearer 2020-02-01 18:42:18 +01:00
Carl Fredrik Samson
92680313ea finished book 2020-02-01 17:23:49 +01:00
Carl Fredrik Samson
917fa3c455 finished book 2020-02-01 16:35:11 +01:00
Carl Fredrik Samson
a28a7bee24 added last chapter 2020-02-01 02:59:50 +01:00