n. reentrant
misc. reenterable
如果使用第三方程序库,事情会变得更为复杂,因为您永远不知道哪部分程序库是可重入的,哪部分是不可重入的。
Things become even more complicated when you're using a third-party library, because you never know which parts of the library are reentrant and which are not.
在大部分系统中,malloc和free都不是可重入的,因为它们使用静态数据结构来记录哪些内存块是空闲的。
On most systems, malloc and free are not reentrant, because they use a static data structure that records which memory blocks are free.
近来很多提供商已经开始提供标准c程序库的可重入版本,这是一个好消息。
The good news is, these days many vendors have taken the initiative to provide reentrant versions of the standard C library.
应用推荐