Ignore:
Timestamp:
Oct 20, 2008, 2:54:13 AM (11 years ago)
Author:
gb
Message:

Use #_forkall (clone all threads in the child process), not just #_fork
on Solaris. (Apparently, when Solaris doesn't clone a thread, it doesn't
clone its stack, either; the recently-merged change that creates the
string vector (argv) in the calling thread rather than in the monitor
thread exposes this.)

File:
1 edited

Legend:

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

    r11125 r11176  
    12041204  (let* ((signaled nil))
    12051205    (unwind-protect
    1206          (let* ((child-pid (#_fork)))
     1206         (let* ((child-pid (#-solaris-target #_fork #+solaris-target #_forkall)))
    12071207           (declare (fixnum child-pid))
    12081208           (cond ((zerop child-pid)
Note: See TracChangeset for help on using the changeset viewer.