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
4032c673e2
fixed error message thanks to #6
2020-04-10 20:53:15 +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
5947e07122
final audit pass
2020-04-07 11:55:33 +02:00
cfsamson
01181ce2a2
removed 1 line of code from greenthreads
2020-04-07 11:47:32 +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
cfsamson
df7fe72386
audit pass Pin
2020-04-06 16:07:26 +02:00
cfsamson
16cd145661
audit pass on waker + generators
2020-04-06 15:20:02 +02:00
cfsamson
9c2079c839
audit pass introduction and background_information
2020-04-06 12:28:49 +02:00
Carl Fredrik Samson
9b9b72afa5
fixed failing test
2020-04-06 02:12:23 +02:00
Carl Fredrik Samson
310ee249fd
fixed failing test
2020-04-06 01:55:40 +02:00
Carl Fredrik Samson
15d7c726f8
finished book!!!!!!
2020-04-06 01:51:18 +02:00
Carl Fredrik Samson
3a3ad1eeea
improved futures chapter
2020-04-05 20:05:39 +02:00
Carl Fredrik Samson
3904912799
trying to get travis to pass
2020-04-05 18:37:14 +02:00
Carl Fredrik Samson
7a6f0592b0
merged version 3
2020-04-05 18:32:42 +02:00
Carl Fredrik Samson
83c0872af2
fixed failing tests
2020-04-05 18:30:35 +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
9b2401b8a4
version3
2020-04-05 17:09:05 +02:00
Carl Fredrik Samson
5ec0336d66
making tests pass on windows
2020-04-05 01:01:56 +02:00
Carl Fredrik Samson
971288868b
formatting
2020-04-05 00:07:14 +02:00
Carl Fredrik Samson
0d0c265dc7
finished background information
2020-04-04 23:40:48 +02:00
Carl Fredrik Samson
c8cff655ec
finished why futures
2020-04-04 18:12:02 +02:00
Carl Fredrik Samson
720cdfb36d
Added promises paragraph
2020-04-03 00:12:52 +02:00
Carl Fredrik Samson
8900666a55
formatting
2020-04-01 23:15:36 +02:00
Carl Fredrik Samson
7f7fe098f3
version3 start
2020-04-01 22:56:43 +02:00
Carl Fredrik Samson
70c4020059
continued version 2
2020-02-24 23:25:48 +01:00
Carl Fredrik Samson
eda2f7dc59
minor formulation change
2020-02-06 00:47:11 +01:00
Carl Fredrik Samson
58318daaf0
corrected reference from pin_utils to pin_project
2020-02-05 23:07:49 +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
548dc3026c
last review
2020-02-03 23:02:48 +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
Carl Fredrik Samson
013fd3bb48
finished all but the main example
2020-02-01 00:01:15 +01:00
Carl Fredrik Samson
a84faa9f3f
added main example
2020-01-30 23:57:02 +01:00
Carl Fredrik Samson
59f00d69e9
added main example
2020-01-30 21:02:37 +01:00
Carl Fredrik Samson
165409b174
fixed build
2020-01-27 01:41:13 +01:00
Carl Fredrik Samson
c52fa3085a
redesign
2020-01-26 20:41:41 +01:00
Carl Fredrik Samson
dd4921d634
first draft of first chapter
2020-01-25 21:28:37 +01:00
Carl Fredrik Samson
7cf660c1f1
added code for chapter 2
2020-01-25 20:20:43 +01:00