JezK
Edit File: cdesc-FixedThreadPool.ri
U:RDoc::NormalClass[iI"FixedThreadPool:EFI" Concurrent::FixedThreadPool;FI"ThreadPoolExecutor;To:RDoc::Markup::Document:@parts[o;;[ o:RDoc::Markup::Paragraph;[I"'@!macro [attach] fixed_thread_pool;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim;[I"[A thread pool that reuses a fixed number of threads operating off an unbounded queue. ;TI"hAt any point, at most `num_threads` will be active processing tasks. When all threads are busy new ;TI"Utasks `#post` to the thread pool are enqueued until a thread becomes available. ;TI"QShould a thread crash for any reason the thread will immediately be removed ;TI"!from the pool and replaced. ;TI" ;TI"NThe API and behavior of this class are based on Java's `FixedThreadPool` ;T:@format0o; ;[I" @!macro thread_pool_options;T: @fileI"1lib/concurrent/executor/fixed_thread_pool.rb;T:0@omit_headings_from_table_of_contents_below0; 0;0[ [ [ [[I" class;T[[:public[[I"new;TI"1lib/concurrent/executor/fixed_thread_pool.rb;T[:protected[ [:private[ [I" instance;T[[;[ [;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ; 0;0[@I"Concurrent;FcRDoc::NormalModule