Changeset 627


Ignore:
Timestamp:
Mar 6, 2004, 11:52:44 PM (21 years ago)
Author:
Gary Byers
Message:

Per-thread stack-space calculated on a per-process basis.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/level-0/l0-misc.lisp

    r495 r627  
    142142  (let* ((res nil))
    143143    (without-interrupts
    144      (do-unexhausted-lisp-threads (thread)
    145        (push (cons thread (multiple-value-list (%thread-stack-space thread))) res)))
     144     (dolist (p (all-processes))
     145       (let* ((thread (process-thread p)))
     146         (when thread
     147           (push (cons thread (multiple-value-list (%thread-stack-space thread))) res)))))
    146148    res))
    147149
Note: See TracChangeset for help on using the changeset viewer.