Changeset 16076


Ignore:
Timestamp:
May 17, 2014, 11:49:18 PM (7 years ago)
Author:
gb
Message:

If we unload foreign entrypoints/variables after closing a shared library,
reload what we can; we can't fault them in in a child process after #_fork
on OSX, because Mach Sucks Too Much.

This seems to fix a problem reported in ticket:1182 in the trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/level-0/l0-cfm-support.lisp

    r16075 r16076  
    117117                   (when (fv.addr fv)
    118118                     (when (or (null lib) (eq (fv.container fv) lib))
    119                        (setf (fv.addr fv) nil))))
     119                       (setf (fv.addr fv) nil)
     120                       (resolve-foreign-variable fv nil))))
    120121               fvs))))
    121122
     
    131132                   (when (or (null lib) (eq (eep.container eep) lib))
    132133                     (setf (eep.address eep) nil)
     134                     (resolve-eep eep nil)
    133135                     (incf count))))
    134              (eeps))   
     136             (eeps))
     137   
    135138    (not (zerop count))))
    136139
Note: See TracChangeset for help on using the changeset viewer.