top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

what is reentrancy in the context of operting system ?

+2 votes
422 views
what is reentrancy in the context of operting system ?
posted Sep 5, 2013 by Ganesh Kumar

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+4 votes

In computing, a computer program or subroutine is called Reentrant if it can be interrupted in the middle of its execution and then safely called again before its previous invocation's complete execution. A subroutine that is directly or indirectly recursive should be "Reentrant".

answer Sep 5, 2013 by Satyabrata Mahapatra
How a C programmer can write a re-entrant code ? A "C" program with brief explanation will help me to understand more.
Please go through this following link. This one have a easy explanation .
http://www.thegeekstuff.com/2012/07/c-thread-safe-and-reentrant/
...