chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] what is the best way to get a thread listing from ch


From: felix
Subject: Re: [Chicken-users] what is the best way to get a thread listing from chicken?
Date: Fri, 13 Dec 2002 23:39:43 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529

Joerg F. Wittenberger wrote:
Hi,

the subject says it all.

thanks

/Jörg


The procedure `(##sys#all-threads)' returns a list of all
current threads. For example:

; ... run some threads

(for-each
  (lambda (t) (print (thread-name t) ": " (thread-state t)))
  (##sys#all-threads) )


cheers,
felix





reply via email to

[Prev in Thread] Current Thread [Next in Thread]