Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/04/02 18:28
Read: times


 
#30208 - RE: re-entrant functions
The problem in 'C' (or other high level languages) with re-entrant functions is that if the function uses local variables, the compiler has to be smart enough to know not to use the same memory location for each instance of the function.

If you are using assembler, you have to take care of memory management yourself. So as long as you are sure that each call to the function isn't overwriting a memory location or register that another instance of the function is using, then your only real concern is, as Rob mentioned, the stack.

Regards,
Craig Steiner


List of 7 messages in thread
TopicAuthorDate
re-entrant functions            01/01/70 00:00      
RE: re-entrant functions            01/01/70 00:00      
RE: re-entrant functions            01/01/70 00:00      
RE: re-entrant functions            01/01/70 00:00      
RE: re-entrant functions            01/01/70 00:00      
RE: re-entrant functions/Andy            01/01/70 00:00      
RE: re-entrant functions/mahmood            01/01/70 00:00      

Back to Subject List