Generic Function | Package: mp | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 This page is new in 10.1.

## query-process-pool

Arguments: pool &key stream

Display on stream information about the specified `process-pool`. If pool is `nil`, displays information about the default process-pool (see ensure-default-process-pool). The default for stream is *standard-output*.

The stream argument may also be `nil` to return the status output in a new string, or a string with fill pointer to be updated with the output.

### Example:

    ;; Here is part of the information printed about the default process-pool
    ;; (specified by NIL as the value of the POOL argument):
    ;;
    cl-user(166): (query-process-pool nil)

    ;;; Process Pool  Default process pool  Status
    ;;         Work items waiting for a process: 0
    ;;     Idle processes waiting to be re-used: 1
    ;;                 Active processes running: 0

    ;;;    Process Pool Parameters
    ;;                   Limit to number of retained idle processes: nil
    ;;                  Limit to number of active processes running: nil
    ;;                 Idle processes retained forever
    ;;               Limit to number of queued work items: none
    [...]

See Process pools in multiprocessing.htm for more information on process pools.

Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page is new in the 10.1 release.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 This page is new in 10.1.