[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: All threads
Yes, that is a solution I use now. For debugging I just redefine
thread to make sure I hold all threads.
I was just thinking there is some way of automatically looking
at all threads (or better yet, all user-originated threads).
Thank you, anyway
Zbyszek Jurkiewicz
On Fri, 15 Mar 2002, Robert Bruce Findler wrote:
> No, but you can define an alternative to `thread':
>
> (define threads null)
> (define (save-thread thnk)
> (let ([thd (thread thnk)])
> (set! threads (cons thd threads))
> thd))
>
> At Fri, 15 Mar 2002 17:50:26 +0100 (CET), Zbyszek Jurkiewicz wrote:
> > Is it possible to find (from the Scheme procedure) all active
> > Scheme threads? It would help during debugging.
> >
> > Regards,
> >
> > Zbyszek Jurkiewicz
> >
> >
>
>