Defines reentrancy and includes a POSIX listing of a reentrant function.
定义了可重入性,并包含一个可重入函数的POSIX清单。
Moreover, it may be impossible to make a non-reentrant function thread-safe.
另外,或许不可能让某个不可重入的函数是线程安全的。
A reentrant function can be interrupted at any time and resumed at a later time without loss of data.
可重入函数可以在任意时刻被中断,稍后再继续运行,不会丢失数据。
应用推荐