chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] FFI and stack use


From: John Cowan
Subject: Re: [Chicken-users] FFI and stack use
Date: Wed, 22 Jul 2009 15:04:00 -0400
User-agent: Mutt/1.5.13 (2006-08-11)

Thomas Bushnell BSG scripsit:

> But this doesn't seem right.  Let's suppose the kernel stack limit is
> 16MB, and the Chicken Scheme stack size is set to its default of 64K.
> 
> Then when my function is invoked, the kernel is still willing to expand
> the stack up to 15 MB.  So there isn't a serious problem here. 

Fair enough.

> The only reason this wouldn't work is if chicken is moving off onto some
> stack other than the default stack the kernel gave it, but afaict,
> nothing of the kind happens.

No, it doesn't.  Chicken manipulates the stack only by doing a longjmp().

-- 
My confusion is rapidly waxing          John Cowan
For XML Schema's too taxing:            address@hidden
    I'd use DTDs                        http://www.ccil.org/~cowan
    If they had local trees --
I think I best switch to RELAX NG.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]