Merge pull request #584 from d3faultdotxbe/master

Fix tiny typo in CP.2
This commit is contained in:
Gabriel Dos Reis 2016-04-12 21:20:59 -07:00
commit c06c6b28de

View File

@ -10229,7 +10229,7 @@ production software at this very moment. One very simple example:
int get_id() { int get_id() {
static int id = 1; static int id = 1;
return i++; return id++;
} }
The increment here is an example of a data race. This can go wrong in many ways, The increment here is an example of a data race. This can go wrong in many ways,