Skip to content

Commit

Permalink
thread_sync.c: Update rdoc for Queue [skip ci]
Browse files Browse the repository at this point in the history
* thread_sync.c: [DOC] Update documentation for Queue class
  description.  [Fix GH-1292]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nobu committed Mar 17, 2016
1 parent a5456a1 commit fe98176
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
Thu Mar 17 17:20:28 2016 Anton Davydov <antondavydov.o@gmail.com>

* thread_sync.c: [DOC] Update documentation for Queue class
description. [Fix GH-1292]

Thu Mar 17 17:14:51 2016 Dinar Valeev <dvaleev@suse.com>

* gc.c (tick): Use __builtin_ppc_get_timebase for POWER arch.
Expand Down
8 changes: 7 additions & 1 deletion thread_sync.c
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,13 @@ queue_do_close(VALUE self, int is_szq)
/*
* Document-class: Queue
*
* This class provides a way to synchronize communication between threads.
* The Queue class implements multi-producer, multi-consumer queues.
* It is especially useful in threaded programming when information
* must be exchanged safely between multiple threads. The Queue class
* implements all the required locking semantics.
*
* The class implements FIFO type of queue. In a FIFO queue, the first
* tasks added are the first retrieved.
*
* Example:
*
Expand Down

0 comments on commit fe98176

Please sign in to comment.