re-entrant
re·en·trant
also re-en·trant R0112600 (rē-ĕn′trənt)re-entrant
(riːˈɛntrənt)Adj. | 1. | re-entrant - (of angles) pointing inward; "a polygon with re-entrant angles" |
单词 | re-entrant | |||
释义 | re-entrantre·en·trantalso re-en·trant R0112600 (rē-ĕn′trənt)re-entrant(riːˈɛntrənt)
re-entrantre-entrant(programming)It is usually easy to arrange for multiple invocations(e.g. calls to a subroutine) to share one copy of the code andany read-only data but, for the code to be re-entrant, eachinvocation must use its own copy of any modifiable data (orsynchronised access to shared data). This is most oftenachieved using a stack and allocating local variables in anew stack frame for each invocation. Alternatively, thecaller may pass in a pointer to a block of memory which thatinvocation can use (usually for outputting the result) or thecode may allocate some memory on a heap, especially if thedata must survive after the routine returns. Re-entrant code is often found in system software, such asoperating systems and teleprocessing monitors. It is alsoa crucial component of multithreaded programs where the term"thread-safe" is often used instead of "re-entrant". re-entrant
Synonyms for re-entrant
|
|||
随便看 |
|
英语词典包含2567994条英英释义在线翻译词条,基本涵盖了全部常用单词的英英翻译及用法,是英语学习的有利工具。