Changeset 10517


Ignore:
Timestamp:
Aug 22, 2008, 12:45:24 PM (11 years ago)
Author:
gb
Message:

When creating a thread to moniitor an external process, make
its stacks small (128KB each), which is probably way too
large but which may avoid problems if default stack sizes
are very large and many external processes are running
simulaneously.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/level-1/linux-files.lisp

    r10515 r10517  
    10291029                 (external-process-error proc) error-stream)
    10301030           (process-run-function
    1031             (format nil "Monitor thread for external process ~a" args)
    1032                    
     1031            (list :name
     1032                  (format nil "Monitor thread for external process ~a" args)
     1033                  :stack-size (ash 128 10)
     1034                  :vstack-size (ash 128 10)
     1035                  :tstack-size (ash 128 10))
    10331036            #'run-external-process proc in-fd out-fd error-fd env)
    10341037           (wait-on-semaphore (external-process-signal proc))
Note: See TracChangeset for help on using the changeset viewer.