Skip to content

Commit

Permalink
Some typo's and href updates; fixes #50
Browse files Browse the repository at this point in the history
  • Loading branch information
jpluimers committed Nov 4, 2016
1 parent b32e534 commit ba83f10
Show file tree
Hide file tree
Showing 5 changed files with 538 additions and 519 deletions.
4 changes: 4 additions & 0 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,10 @@ a.msdn-link {
/* TODO: somehow style MSDN links */
}

a.wikipedia-link {
/* TODO: somehow style wikipedia links */
}

.story-intro, .story-outro {
font-style: italic;
margin-bottom: 1em;
Expand Down
6 changes: 3 additions & 3 deletions js/content/levels-high-level-primitives.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ levels["H1-ManualResetEvent"] = new Level(
}
);
levels["H2-CountdownEvent"] = new Level(
"H2-CountdownEvent",
"Countdown Event",
"Introduces the CountdownEvent class, a more powerful barrier but also trickier.",
"H2-CountdownEvent",
"Countdown Event",
"Introduces the CountdownEvent class, a more powerful barrier but also trickier.",
"<div class='story-intro'>The Countdown Dragons are a threat to us - this newest Empire weapon flies right up to you and self-destructs at the worst possible moment, sending ripples of doom throughout our armies.</div>" +
"The <b><a href='https://msdn.microsoft.com/en-us/library/system.threading.countdownevent'>CountdownEvent</a></b> class has an internal counter and is initialized with a number. " +
"Its <a href='https://msdn.microsoft.com/en-us/library/dd321954'>.Signal()</a> method atomically decrements the counter. Its <a href='https://msdn.microsoft.com/en-us/library/dd270769'>.Wait()</a> method blocks the calling thread until the counter reaches zero. You can use this primitive to wait until all threads finished their work if you know the size of the work, for example. Its advantage compared to the <a href='https://msdn.microsoft.com/en-us/library/system.threading.barrier'>Barrier</a> is that you can wait without signalling, and that you can signal multiple times from the same thread.<br><br>" +
Expand Down
Loading

0 comments on commit ba83f10

Please sign in to comment.