Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] using cli/sei pairs

2006-12-13 by Ned Konz

Reza wrote:
> Hi;
> 
> Thanks specially for suggestions made by "Ned Konz".
> Thats seems to be helpfull. i'l try it.
> 
> Thanks for commenting hints from Jim, also.
> 
> but about using cli/sei pairs programatically in code,
> using this style of coding, may make some problems bcz
> of forgetting to write such codes. the main problem
> is:
> 
> is there any way to customize code generation schema
> of GCC and adding new properties or attributes to
> cover our needs. I dont want to loose GCC and switch
> to another compiler.

You can use C++ and make "atomic guard" objects whose constructors and 
destructors do the work. You can also make objects whose read/write 
access is guarded.

-- 
Ned Konz
ned@bike-nomad.com
http://bike-nomad.com

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.