Re: CAS,Stackwalk and code reuse



thanks.

permission do not differ ...if I put every thing in the same finction
i.e inline it works...but If i put it in reusable utility functions
...it does not work...
And I think reason being call stack would work differently when i put
them in utility function.

So I know inline code will work ...what I am trying to find out is if
there is a way to not write inline code because than I will be
duplicating it all over the place...if there is a way to write it in
one place and reuse it ?
Thanks
Sidd

.



Relevant Pages

  • Re: What is the gain of "inline"
    ... int get_foo_count(struct bar *bar) ... directly with inline code. ... computing the address of a function in a shared library and calling ...
    (comp.lang.c)
  • Re: strange crush when using template singleton class
    ... Since I am using a template and since template only use inline code and ... There's no return type for this function, so it's not a legal declaration. ...
    (microsoft.public.vc.language)
  • Re: [-mm patch] make kcalloc() a static inline
    ... > and I saw small reduction in kernel text with kcallocinlined. ... the inline code. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: Inlines and preprocessor
    ... I can not determine when inline code was used ... could build a table of inlined functions and do a brute force search for the ... Especially since you don't know what the compiler might choose to ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Where are project files?
    ... As for VS 2003 supporting inline code, let me say that the link you provided ... That's not to say that you couldn't *do* inline coding in VS 2003, ... I said VS 2003 didn't *offer* an inline coding model, ...
    (microsoft.public.dotnet.framework.aspnet)