Skip to content

Commit 8e921c6

Browse files
committed
Merge pull request #214 from pitr-ch/master
Keep thread pools documentation separate
2 parents a7acb85 + 80c5495 commit 8e921c6

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

.yardopts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@
1010
./lib/**/*.rb
1111
./ext/concurrent_ruby_ext/**/*.c
1212
-
13+
doc/thread_pools.md
1314
README.md
1415
LICENSE.txt

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ This library contains a variety of concurrency abstractions at high and low leve
6666

6767
### Java-inspired ThreadPools and other executors
6868

69-
* See [ThreadPool](http://ruby-concurrency.github.io/concurrent-ruby/Concurrent/ThreadPoolExecutor.html) overview, which also contains a list of other Executors available.
69+
* See [ThreadPool](http://ruby-concurrency.github.io/concurrent-ruby/file.thread_pools.html) overview, which also contains a list of other Executors available.
7070

7171
### Thread-safe Observers
7272

lib/concurrent/executor/thread_pool_executor.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ module Concurrent
4949
# * `:discard`: Discard the task and return false.
5050
# * `:caller_runs`: Execute the task on the calling thread.
5151
#
52-
# {include:file:doc/thread_pools.md}
53-
#
5452
# @note When running on the JVM (JRuby) this class will inherit from `JavaThreadPoolExecutor`.
5553
# On all other platforms it will inherit from `RubyThreadPoolExecutor`.
5654
#

0 commit comments

Comments
 (0)