阅读背景:

Writing Reentrant and Thread-Safe Code(编写可重入和线程安全的代码)

来源:互联网 

 

In single-threaded processes there is only one flow of control. The code executed by these processes thus need not to be reentrant or thread-safe. In multi-threaded programs, the same functions and the same resources may be accessed concurrently by several flows of control. To protect resource integrity, code written for multi-threaded programs must be reentrant and thread-safe.In single-threaded processes there is only one fl




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: