Skip to content

Commit

Permalink
Wording
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
amatsuda committed Jun 4, 2020
1 parent 6bef806 commit c769875
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -148,7 +148,7 @@ def clear

# Remove the head of the queue.
#
# If +timeout+ is not given, remove and return the head the
# If +timeout+ is not given, remove and return the head of the
# queue if the number of available elements is strictly
# greater than the number of threads currently waiting (that
# is, don't jump ahead in line). Otherwise, return +nil+.
Expand Down Expand Up @@ -191,7 +191,7 @@ def remove
@queue.pop
end

# Remove and return the head the queue if the number of
# Remove and return the head of the queue if the number of
# available elements is strictly greater than the number of
# threads currently waiting. Otherwise, return +nil+.
def no_wait_poll
Expand Down

0 comments on commit c769875

Please sign in to comment.