由于您的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.
要使用WASThreadFactory,应用程序必须首先查找AsynchronousBeans WorkManager,创建一个 WASThreadFactory 实例,然后构造新的线程池。
To use the WASThreadFactory, the application must first look up an Asynchronous Beans WorkManager, create a WASThreadFactory instance, and then construct a new thread pool.
在我的应用程序中,我创建了一个新线程,创建主窗口的一个实例。
In my application, I create a new thread which creates an instance of MainWindow.
频率合成器是多线程的,因此他们必须在程序的一个实例,使静态和静态构造函数的地方。
The Synthesizer is multi-threaded, therefore they must only be one instance in the program, so make a static one somewhere with a static constructor.
线程安全实例。该程序说明线程安全问题。
线程安全实例。该程序说明线程安全问题。
应用推荐