Threads are divided into Worker Thread and User Interface Thread.
线程分为辅助线程(工作者线程)和用户界面线程。
Enables background tasks that interact with the user interface, communicating via events raised on the user-interface thread.
启用与使用者介面互动的背景工作,透过使用者介面执行绪上引发的事件来沟通。
YS-1600 piston pressure gauge specifications include: accuracy class, range, piston area, piston chassis and connectors, special weights, interface thread and so on.
YS- 1600型活塞式压力计的技术参数包括:精度等级、测量范围、活塞面积、活塞的底盘及其连接件质量、专用砝码质量、接口螺纹等参数。
YS-1000 piston pressure gauge specifications include: accuracy class, range, piston area, piston chassis and connectors, special weights, interface thread and so on.
YS- 1000型活塞式压力计的基本参数包括:精度等级、测量范围、活塞有效面积、活塞底盘及其连接件和专用砝码质量、接口型式等参数。
This is because remote invocations in JSR 172 are blocking calls, and if invoked in the main event thread, the user interface will freeze until the remote invocation completes.
由于JSR 172中的远程调用是按模块进行的,而且如果在主事件线程中调用,用户界面会冻结,直到远程调用结束。
It is through this interface that you can gather thread statistics by making use of functions available in the IBM-released JVM.
通过该界面,您可以利用IBM发布的JVM中可用的功能收集线程统计信息。
Job offers a similar interface as Thread, and can be used to asynchronously execute code.
Job提供了和Thread类似的接口,可以用于异步执行代码。
When a pluglet is executed, it runs on the Rational Software Architect (User Interface) UI thread.
当运行pluglet 时,它在RationalSoftware Architect(用户界面)UI 线程上运行。
This interface processes various requests in the handler?s thread of control using a run() method.
该接口使用run()方法在处理程序的控制线程中处理各个请求。
You can create a ThreadPoolStatus MBean to provide the management interface for the thread pool used to process these tasks and register it with JMX.
可以创建ThreadPoolStatusMBean,提供处理这些任务所使用的线程池的管理接口,并把它用JMX注册。
The PresentationReconciler class updates the text's appearance with every keystroke, and the Reconciler class runs in a daemon thread, parsing the document without holding up the user interface (UI).
presentationreconciler类根据每次击键更新文本的外观,而Reconciler类运行一个守护线程,不必将用户界面(UI)挂起就能解析该文档。
AWT and Swing use this model, in which there is a GUI event thread, and all work that causes changes in the user interface must execute in that thread.
AWT和Swing就使用这个模型,在这个模型中有一个GUI事件线程,导致用户界面发生变化的所有工作都必须在该线程中执行。
It implements the run method of the Runnable interface and USES a thread to check if it is time to start making coffee.
它实现了Runnable接口的run方法并使用线程来检查是否该开始煮咖啡了。
Each thread will also have a scope to enter if it needs to use the WorkerConsole interface (where objects would be created).
每个线程都将有一个作用域可进入,如果它需要使用WorkerConsole接口(对象将在其中创建)。
Eclipse has a single thread for managing the user interface, and some SWT API methods may only be called from that thread. (see Resources for more information).
Eclipse有一个用于管理用户界面的线程,而且某些SWTAPI方法只能通过该线程调用(有关更多信息,请参阅参考资料)。
This article examined how you can use the WorkManager interface to schedule work for processing on a thread under the application server's control, either synchronously or asynchronously.
本文介绍了如何用WorkManager接口对工作进行调度,以便在应用程序的控制下处理这些工作。
If we consider the WeighingMachine interface, the weighJar() method needs to be frequently polled, so it's sensible to have a dedicated thread for each ProductionLine to make the design scalable.
如果考虑WeighingMachine接口,weighJar()方法需要频繁轮询,因此明智的做法是为每个ProductionLine 使用一个专用线程,使设计可伸缩。
Specifically, if everything is happening in a single thread, performing long operations such as network access or database queries on the UI thread will block the whole user interface.
特别是,如果把所有的事件都放在主线程中来处理,需要长时间来处理的事件比如网络访问或者数据库查询,会阻塞整个UI。
So, you must not manipulate your UI from a worker thread-you must do all manipulation to your user interface from the UI thread.
因此不允许从工作线程中操作ui——只能从UI线程中操作用户界面。
To ensure that your implementation is thread-safe, a class that implements this interface should use either the synchronized keyword on the methods or synchronized blocks within the methods.
为了确保实现是线程安全的,实现该接口的类应该在方法上使用synchronized关键字,或者在方法内部使用同步锁。
This thread is very important because it is in charge of dispatching events to the appropriate user interface widgets, including drawing events.
主线程非常重要,因为它负责把事件分发给相应的用户界面widget——包括屏幕绘图事件。
Instead of providing an abstraction of logical SPUs, this interface is thread-oriented and behaves in a similar way to the pthread library.
这个接口并不是提供一个逻辑spu的抽象,而是面向线程的,它的工作方式与pthread库类似。
For this, the JSR-166 experts created a far more useful abstraction, the ExecutorService interface, which models the thread-starting factory as a service that can be controlled collectively.
对于此问题,JSR- 166专家创建了一个更加有用的抽象(ExecutorService接口),它将线程启动工厂建模为一个可集中控制的服务。
To facilitate this, the debugger interface takes control of the thread by placing a special exception filter in the thread's filter chain.
为了便于执行此规定,调试器接口在线程的筛选器链中放置了一个特殊的异常筛选器来控制线程。
Occurs on the application UI (user interface) thread when the user lifts the tablet pen from the digitizer.
当触笔移到数字化仪上时,在应用程序ui(用户界面)线程上发生。
The debugger user interface (UI) may want to take this information into account if it displays the operating system (OS) suspend count of the thread to the user.
如果调试器用户界面(UI)要向用户显示线程的操作系统(OS)挂起计数,便可能需要考虑此信息。
On top of all that, the operating system can also adjust thread priorities dynamically as an application's user interface is moved between foreground and background.
除此之外,当应用程序的用户界面在前台和后台之间移动时,操作系统还可以动态调整线程优先级。
Callback interface for discovering when a thread is going to block waiting for more messages.
发现一个线程什么时候将要阻塞以等待更多的消息的回调接口。
Callback interface for discovering when a thread is going to block waiting for more messages.
发现一个线程什么时候将要阻塞以等待更多的消息的回调接口。
应用推荐