A Tango Fibers question and a functional programming anecdote.

Daniel Keep daniel.keep.lists at gmail.com
Sun Oct 28 04:17:37 PDT 2007



downs wrote:
> Jarrett Billingsley wrote:
>> ...
>> As for nothing but ST(0-7) being preserved on Windows.. no clue.
>>
> 
> Aww. Still thanks for answering. I'm sure somebody will know it.

I think this might be it (from the ABI):

"The FPU stack must be empty when calling a function."

So when it calls the function, the caller will have emptied the FP
stack, so there's nothing *in* ST(0-7) to save.

> ...
> 
>> ["Load "~info, ...] /zip/ [&update, ...] /map/ &Pool.addTask;
>>
> 
> Then I noticed the info calls were also redundant. It went kinda out of
> control after that. You know the result. :)
> 
>  --downs

You're my hero, downs.

	-- Daniel



More information about the Digitalmars-d mailing list