Re: [cc65] Stack usage optimization

From: Marc 'BlackJack' Rintsch <marc1rintsch.de>
Date: 2010-09-14 08:55:30
On Tuesday 14 September 2010, Ullrich von Bassewitz wrote:
> Hi!
>
> On Mon, Sep 13, 2010 at 06:29:34PM +0200, Marc 'BlackJack' Rintsch 
wrote:
> > Is this really a safe optimization?  What about threads?  Or when
> > functions are called within an interrupt handler?
>
> Using -Cl (static locals) is inherently non thread safe, so even
> without these optimizations, you cannot do these things.

As long as I remember not to call the same functions from different 
threads it is okay.

Ciao,
	Marc 'BlackJack' Rintsch
-- 
"Very funny, Scotty. Now beam down my clothes."

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Sep 14 08:43:56 2010

This archive was generated by hypermail 2.1.8 : 2010-09-14 08:43:59 CEST