Commit Graph

276 Commits

Author SHA1 Message Date
PoorlyDefinedBehaviour
11ef236afb fix: minor typo 2022-01-30 17:15:03 -03:00
Carl Fredrik Samson
f29048f969 Reworked the green threads section 2022-01-26 01:05:32 +01:00
Carl Fredrik Samson
00ffd295b7 Added teaser for expanding code for green threads
and changed run to main
2022-01-26 00:46:19 +01:00
Carl Fredrik Samson
250918b362 Updated inline asm from llvm_asm to new asm syntax 2022-01-26 00:43:09 +01:00
Carl Fredrik Samson
6adb910e51 Merge pull request #42 from Tony-X/patch-1
Fix the example in chapter 6 to compile
2022-01-25 20:53:45 +01:00
Tony-X
8e1bb6bcd9 Fix the example in chapter 6 to compile
Before we introduced the better `Parker` we were using a thread. The example code for executor need to use `thread` instead of `parker`
2022-01-24 18:24:09 -08:00
Carl Fredrik Samson
80d32c612d Merge pull request #40 from ibraheemdev/patch-1
fix typo
2021-06-13 08:54:45 +02:00
Ibraheem Ahmed
c898c47351 fix typo 2021-06-12 12:04:17 -04:00
Carl Fredrik Samson
d2aaa3b213 Merge pull request #39 from figurantpp/master
A fix to issue #38
2021-05-06 22:30:50 +02:00
figurantpp
fa959ac9a1 Fix #38 2021-05-06 08:15:40 -03:00
Carl Fredrik Samson
3def942a62 Merge pull request #37 from ch3pjw/pin_fixes
Pin fixes
2021-04-19 14:01:01 +02:00
Paul Weaver
156ae48bbf Whitespace 2021-04-19 00:22:57 +01:00
Paul Weaver
6911e5a875 Remove dead code line in Pin chapter 2021-04-19 00:22:57 +01:00
Paul Weaver
e4ac8419e4 Minor grammar fixes for Pin chapter 2021-04-19 00:22:57 +01:00
Carl Fredrik Samson
9da948ef1d reworded paragraph re #36 2021-01-15 16:26:37 +01:00
Carl Fredrik Samson
800e923824 reworded paragraph re #36 2021-01-15 16:18:56 +01:00
Carl Fredrik Samson
2889b9d9a4 Fix typo re #36 2021-01-15 16:08:32 +01:00
Carl Fredrik Samson
94cf575866 Fix typo re #35 2021-01-15 16:07:22 +01:00
Carl Fredrik Samson
429c88c537 Merge pull request #34 from Oliboy50/patch-1
fix stjepang name
2021-01-15 08:50:13 +01:00
Oliver THEBAULT
fe59cf6061 fix stjepang name 2021-01-15 08:30:17 +01:00
Carl Fredrik Samson
5d630f6201 fix dead links re #33 2021-01-14 21:50:36 +01:00
Carl Fredrik Samson
21fa832c8c Merge branch 'master' of https://github.com/cfsamson/books-futures-explained into master 2021-01-14 21:46:50 +01:00
Carl Fredrik Samson
0b6ac51ec9 changed paragrapth as suggested in reddit comment 2021-01-14 21:35:54 +01:00
Carl Fredrik Samson
d06e85aa46 spelling 2021-01-14 21:25:44 +01:00
Carl Fredrik Samson
979d9d48dd Formatting 2021-01-14 14:47:53 +01:00
Carl Fredrik Samson
ad1af303f4 Formatting 2021-01-14 14:44:57 +01:00
Carl Fredrik Samson
1c22de4a4b improved wording ch 3 2021-01-14 14:36:13 +01:00
Carl Fredrik Samson
351cd6c33e improved wording ch 3 2021-01-14 14:35:52 +01:00
Carl Fredrik Samson
df6c6f98d4 minor phrasing change 2020-12-30 00:48:40 +01:00
Carl Fredrik Samson
8dca87526b moved additional notes to ch 2 bonus section, credited ckaran, re #31 2020-12-30 00:41:13 +01:00
Carl Fredrik Samson
146100264e Merge pull request #31 from ckaran/master
fix: Removed an extraneous period, and added more explanations of Wakers
2020-12-29 23:57:43 +01:00
Cem Karan
064a9b8077 fix: Improved the explanation of Wakers.
The original explanation of Wakers sort-of implied that there was
exactly one Waker for all futures (each executor creates one, then
passes clones of that to all registered futures).  The new phrasing
makes it clear that isn't the case.  Also added another couple of
paragraphs to the conclusion to really expand on that.
2020-12-27 12:47:51 -05:00
Cem Karan
e1d7fa8d67 fix: There were two periods at the end of sentence.
The first period was inside of a bold section, and the second was
just outside of it. I kept the one on the inside.
2020-12-27 12:47:00 -05:00
Carl Fredrik Samson
3b11b49410 improved text in slide 11 2020-12-27 00:46:58 +01:00
Carl Fredrik Samson
a05cf73cd9 spellcheck slides and added a section about concurrenct 2020-12-26 11:44:38 +01:00
Carl Fredrik Samson
145d1b4e3a Merge pull request #30 from IKoshelev/patch-1
Update ch. 0, "Background information", JS sample
2020-12-25 22:01:17 +01:00
IKoshelev
fdaf5ee00b Update ch. 0, "Background information", JS sample
In JavaScript, fat arrow functions consisting of one expression (as opposed to a block of code body incased in '{' '}') don't need and can't have a `return` statement. Sample code being fixed was not valid JS: https://jsfiddle.net/dbzn1tcj/
2020-12-25 18:39:11 +01:00
Carl Fredrik Samson
b9e7242cf7 Merge pull request #29 from ckaran/master
fix: Found and fixed some spelling errors.
2020-12-23 16:01:30 +01:00
Cem Karan
2a87978327 fix: Found and fixed some spelling errors. 2020-12-23 09:48:31 -05:00
Carl Fredrik Samson
315599faf5 Merge pull request #28 from booleancoercion/master
Fixed a typo
2020-12-23 10:47:49 +01:00
booleancoercion
d551e74443 Fixed a typo (this time I think I didn't miss any) 2020-12-23 11:10:52 +02:00
booleancoercion
d31b7976d1 Caught another typo
For some reason my mind skipped this one the first time I went over it...
2020-12-23 10:49:27 +02:00
booleancoercion
ee276abbd3 Fixed a typo 2020-12-23 10:44:59 +02:00
Carl Fredrik Samson
aa0423caaf revised slides in chapter 3. Better descriptions, correction of errors and improved readibility on the small pictures in mdbook 2020-12-22 23:06:26 +01:00
Carl Fredrik Samson
b1e30646e6 fix slide 15 (wrong numbering) 2020-12-22 20:00:33 +01:00
Carl Fredrik Samson
e33b15af8b formulations, spelling and title chapter 3 2020-12-22 19:55:00 +01:00
Carl Fredrik Samson
b085fdd966 reworked chapter 2 and added new chapter 3 ref #25 2020-12-22 19:39:26 +01:00
Carl Fredrik Samson
b5ce4ff4c3 fixed spelling mistake in step 2 2020-12-22 14:44:25 +01:00
Carl Fredrik Samson
3a2d252468 fixed spelling mistake in slide 0 2020-12-22 14:31:36 +01:00
Carl Fredrik Samson
ef4be98f4f Merge branch 'master' of https://github.com/cfsamson/books-futures-explained into master 2020-12-22 14:25:31 +01:00