Non-reentrant functions and static variables.
不可重入函数和静态变量。
Non-reentrant functions cannot be used by multiple threads.
不可重入的函数不能由多个线程使用。
I would like to propose a model for dealing with reentrant functions at the compiler level.
我将提出一个在编译器层次处理可重入函数的模型。
Ensuring guideline 3 requires the compiler to have prior knowledge of all the reentrant functions, including the libraries used by the application.
确保准则3得到满足,要求编译器预先知道所有可重入函数,包括应用程序所使用的程序库。
Reentrant functions either use local variables or protect their data when global variables are used.
可重入函数要么使用本地变量,要么在使用全局变量时保护自己的数据。
Reentrant functions either use local variables or protect their data when global variables are used.
可重入函数要么使用本地变量,要么在使用全局变量时保护自己的数据。
应用推荐