Dave Lewis uploaded a new version of VMConstruction-Plugins-OSProcessPlugin to project OSProcessPlugin: http://www.squeaksource.com/OSProcessPlugin/VMConstruction-Plugins-OSProcess...
==================== Summary ====================
Name: VMConstruction-Plugins-OSProcessPlugin-dtl.37 Author: dtl Time: 22 December 2012, 3:08:51 am UUID: e3c06c1b-76d8-4025-9d13-5fe582618c62 Ancestors: VMConstruction-Plugins-OSProcessPlugin-dtl.36
OSProcessPlugin 4.5.1
Use an alternate signal stack to avoid consuming native stack space. This prevents stack usage problems when running on Cog (stack depth exceeded when a signal is being handled). Adapted from VMConstruction-Plugins-OSProcessPlugin.oscog-eem.38 with the following changes:
- Always use sigaltstack if the platform supports it (i.e. do not test for Cog). - If SQ_ONSTACK is not defined, then assume the platform cannot support signalstack and use the default stack. Use macros to define away unsupportable code. - Fix some type declarations to address int/pointer comparison - Use #isDefined:inSmalltalk:comment:ifTrue:ifFalse:
Oops, that should read "If SA_ONSTACK is not defined" not "SQ_ONSTACK".
Dave
On Sat, Dec 22, 2012 at 09:09:06PM +0000, squeak-dev-noreply@lists.squeakfoundation.org wrote:
Dave Lewis uploaded a new version of VMConstruction-Plugins-OSProcessPlugin to project OSProcessPlugin: http://www.squeaksource.com/OSProcessPlugin/VMConstruction-Plugins-OSProcess...
==================== Summary ====================
Name: VMConstruction-Plugins-OSProcessPlugin-dtl.37 Author: dtl Time: 22 December 2012, 3:08:51 am UUID: e3c06c1b-76d8-4025-9d13-5fe582618c62 Ancestors: VMConstruction-Plugins-OSProcessPlugin-dtl.36
OSProcessPlugin 4.5.1
Use an alternate signal stack to avoid consuming native stack space. This prevents stack usage problems when running on Cog (stack depth exceeded when a signal is being handled). Adapted from VMConstruction-Plugins-OSProcessPlugin.oscog-eem.38 with the following changes:
- Always use sigaltstack if the platform supports it (i.e. do not test for Cog).
- If SQ_ONSTACK is not defined, then assume the platform cannot support signalstack and use the default stack. Use macros to define away unsupportable code.
- Fix some type declarations to address int/pointer comparison
- Use #isDefined:inSmalltalk:comment:ifTrue:ifFalse:
vm-dev@lists.squeakfoundation.org