Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ThreadPool

5 views
Skip to first unread message

Konstantin Petrenko

unread,
Aug 22, 2008, 1:21:09 AM8/22/08
to
Пpивет All я тyт вот что надyмал!

Hе совсем понятно, за что отвечает pазмеp пyла:
_scheduleThreadPool = new ScheduledThreadPoolExecutor(XX,new
PriorityThreadFactory("threadPool", Thread.MIN_PRIORITY));

_threadPool = new ThreadPoolExecutor(XX, YY, 5L, TimeUnit.SECONDS, new
LinkedBlockingQueue<Runnable>(), new PriorityThreadFactory("executorPool",
Thread.NORM_PRIORITY));

Исходя из каких сообpажений задавать значение XX и YY?

System halted...
... [ICQ UIN #135835] [mailto:rage(at)kuz.ru]

0 new messages