It's also worth noting that threads do not spin down immediately --
they only spin down when they're idle.

And, as you have noted it's basically a stack of threads.

So what you'd have to do is spin down as many threads as necessary to
eliminate the thread you wish to eliminate and then spin back up the
threads which you wish to remain.

Or, shut down J completely and initialize a new instance of J with
your desired thread pool structure.

(That said... why would you want to restructure your thread pools like this?)

-- 
Raul

On Wed, Jan 4, 2023 at 8:33 PM Ak O <akin...@gmail.com> wrote:
>
> In a case where,
>      {{0 T. 2}}''
>      {{0 T. 4}}''
>      {{0 T. 7}}''
>
> How do I spin down the thread in pool number 4?
>
> I think operation,
>      {{55 T. ''}}
> spins down only the most recently created thread.
>
>
> Thank you Henry.
>
> Ak
>
>
>
> On Wed., Jan. 4, 2023, 16:29 Henry Rich, <henryhr...@gmail.com> wrote:
>
> > Yes, that's right.
> >
> > Henry
> > On 1/4/
>
> Rich
>
> 2023 6:11 PM, Ak O wrote:
> > > Happy New Year,
> > >
> > > I hope you are all well.
> > >
> > > I am still struggling, please continue to have patience with me.
> > >
> > >
> > > Where,
> > >       {{0 T. ''}}''
> > > creates a new thread.
> > >
> > > Does this,
> > >       {{0 T. 7}}''
> > > create a new thread in pool number 7? Or how is this function treated?
> > >
> > > Thank you,
> > >
> > > Ak
> > > ----------------------------------------------------------------------
> > > For information about J forums see http://www.jsoftware.com/forums.htm
> >
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> >
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to