What do we mean by a reentrant lock?
reentrant锁意味着什么呢?
Must not call non-reentrant functions?
绝对不调用不可重入的函数。
Must not call any non-reentrant functions
绝不调用任何不可重入函数。
Synchronized code relies on a simple kind of reentrant lock.
译文:锁对象同步代码依赖于一种简单的重入锁。
Moreover, it may be impossible to make a non-reentrant function thread-safe.
另外,或许不可能让某个不可重入的函数是线程安全的。
Moreover, it may be impossible to make a non-reentrant function thread-safe.
另外,或许不可能让某个不可重入的函数是线程安全的。
应用推荐