由于您的COBOL程序在进程中可以作为单独的线程运行,因此可以在两个不同的范围内解释语言元素:运行单元范围或程序调用实例范围。
Because your COBOL programs can run as separate threads within a process, a language element can be interpreted in two different scopes: run-unit scope or program invocation instance scope.
这些特定程序的实例可以存在于给定进程的多个线程中。
Those instances of a particular program can exist in multiple threads within a given process.
非线程安全类通常可以安全地在多线程程序中使用,只要您能确保一个线程所用的类的实例不被其它线程使用。
A class that is not thread-safe can often be used safely in a multithreaded program as long as you ensure that instances of that class used by one thread are not used by other threads.
应用推荐