In general, to be THREADSAFE, a routine should not use any global or static data areas.
一般来说,要想定义为THREADSAFE,例程不应该使用任何全局或静态数据区域。
If the procedure is defined as THREADSAFE, the database manager can invoke the procedure in the same process as other routines.
如果过程定义为THREADSAFE,数据库管理器就可以在其他例程的进程中调用这个过程。
If the procedure is defined as not THREADSAFE, the database manager will never invoke the procedure in the same process as another routine.
如果过程定义为NOT THREADSAFE,数据库管理器就绝不会在其他例程的进程中调用这个过程。
The idea being that if you have code that is not threadsafe, this mutex will prevent multiple threads from executing your controller code at the same time.
这个想法是来自于如果你的代码是非线程安全的,这个互斥防止多线程在同时执行你的控制器代码。
The idea being that if you have code that is not threadsafe, this mutex will prevent multiple threads from executing your controller code at the same time.
这个想法是来自于如果你的代码是非线程安全的,这个互斥防止多线程在同时执行你的控制器代码。
应用推荐