I rarely ask questions on this forum, but since I couldn't [easily] find it in the help-files, or on-line, I'm asking you guys.
I usually (like never) don't use the 'reentrant' pragma, but I think I may have to do that with a particular routine.
BUT I can't find the key-word that declares a function as reentrant. Am I missing something? Is there one for Keil's IDE tools? If so, what is its form? Can I get a link to the 'official' use of it?
Thanks in advance, and I need it asap because I need to pass this class and I don't want to really learn how to do this 'embedded' stuff anyway but the teacher keeps hounding me.
--Cpt. Vince Foster 2nd Cannon Place Fort Marcy Park, VA
Also, maybe we should avoid the word "reentrant" altogether and use "recursion-safe" and "thread-safe" instead.
I realise you're scrabbling hard for an out on this one, but that takes the biscuit.
You were wrong - deal with it.
Yet more handwaving, and going from "because Jack sez so" to "because Per sez so"?
Didn't I use the phrase "to the compiler" often enough?
(By the way, how's that attempt at convincing C51 that reentrancy is really a general concept and not something that needs to be allowed by the compiler coming along?)