Hello,
May I specify all of functions are reentrant function by directives? I am using RXT51 tiny and my functions are reentrantable. I am tired to declare "reentrant" at the end of every function declaration.
Thank you very much~
Hi Sir, I do really understand a reentrant function can slow down the executing performance and I am keeping functions from being that. But the tasks are not simply doing the same thing, but depend on the arguments (structure pointer) doing difference things. Each task does long-winde processes and the code are big engouh to make me decide not to create the same function for each task.
Can we just set compiler not to use fixed memory address to put locals or arguments but use reentrant stack (or similar method) as default?
Sounds like the 8051 is basically the wrong choice for this project?
Is it too late to reconsider?
The full list of available directives is here: http://www.keil.com/support/man/docs/c51/c51_cm_directives.htm
Hi Andy,
Thank you for your notice.
I have checked the URL and the listed directive seems cannot support my requirement.
Thanks & Regards.