Skip to content

Commit 5d9cd06

Browse files
committed
Fixed misspelled words and added code tags when get or put queue methods are mentioned.
1 parent 7e27315 commit 5d9cd06

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

index.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ <h3>Contents</h3>
144144
<ul>
145145
<li>Events</li>
146146
<li>Queues</li>
147-
<li>Locks and Sempahores</li>
147+
<li>Locks and Semaphores</li>
148148
<li>Actor Model</li>
149149
<li>Groups and Pools</li>
150150
</ul>
@@ -439,7 +439,7 @@ <h3>Greenlet State</h3>
439439
ways. A greenlet may fail throw an exception, fail to halt or
440440
consume too many system resources.</p>
441441

442-
<p>The internal state of a greenlet is generally a time-depenent
442+
<p>The internal state of a greenlet is generally a time-dependent
443443
parameter. There are a number of flags on greenlets which let
444444
you monitor the state of the thread</p>
445445

@@ -621,7 +621,7 @@ <h3>Events</h3>
621621
<section>
622622
<h3>Queues</h3>
623623

624-
<p>Queues are ordered sets of data that have the usual put / get
624+
<p>Queues are ordered sets of data that have the usual <code>put</code> / <code>get</code>
625625
operations but are written in a way such that they can be safely
626626
manipulated across Greenlets.</p>
627627

@@ -660,9 +660,9 @@ <h3>Queues</h3>
660660
</pre>
661661

662662
<p>
663-
Queues can also block on either put or get as the need arises.
663+
Queues can also block on either <code>put</code> or <code>get</code> as the need arises.
664664

665-
Each of the put and get operations has a non-blocking
665+
Each of the <code>put</code> and <code>get</code> operations has a non-blocking
666666
counterpart, <code>put_nowait</code> and
667667
<code>get_nowait</code> which will not block, but instead raise
668668
either <code>gevent.queue.Empty</code> or
@@ -671,7 +671,7 @@ <h3>Queues</h3>
671671

672672
<p>
673673
In this example we have the boss running simultaneously to the
674-
workers and have a restriction on the Queue that it can cantain no
674+
workers and have a restriction on the Queue that it can contain no
675675
more than three elements. This restriction means that the <code>put</code>
676676
operation will block until there is space on the queue.
677677
Conversely the <code>get</code> operation will block if there are
@@ -751,7 +751,7 @@ <h3>Actor Model</h3>
751751
by the language Erlang. In short the main idea is that you have a
752752
collection of independent Actors which have an inbox from which
753753
they receive messages from other Actors. The main loop inside the
754-
Actor iterates through its messages and takes action acording to
754+
Actor iterates through its messages and takes action according to
755755
its desired behavior.
756756
</p>
757757

0 commit comments

Comments
 (0)