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.
启用与使用者介面互动的背景工作,透过使用者介面执行绪上引发的事件来沟通。
A user-interface thread is commonly used to handle user input and respond to user events independently of threads executing other portions of the application.
使用者介面执行绪通常用来处理使用者输入和回应与执行绪没有关系之执行应用程序其他部分的使用者事件。
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接口),它将线程启动工厂建模为一个可集中控制的服务。
In third chapter, the thesis particularly introduce the method by using the multi-thread User Interface (UI) and the Dialog Model to realize the project software structure.
第三章中详细介绍了运用多线程用户界面实现软件结构和运用对话框实现软件结构的方法。
Who can give me the thread interface routines, I swear to 200 points!
谁能给我界面线程的例程,我发誓给200分!
To facilitate this, the debugger interface takes control of the thread by placing a special exception filter in the thread's filter chain.
为了便于执行此规定,调试器接口在线程的筛选器链中放置了一个特殊的异常筛选器来控制线程。
The application is multi-threaded with one main thread running the com interface and handling GUI changes (thread 1) and one thread to receive incoming messages from a C-library (thread 2).
应用程序是多线程的一个主线程运行的COM接口和处理图形的变化(线程1)和一个线程接收传入的消息(从流通图书馆线程2)。
The application is multi-threaded with one main thread running the com interface and handling GUI changes (thread 1) and one thread to receive incoming messages from a C-library (thread 2).
应用程序是多线程的一个主线程运行的COM接口和处理图形的变化(线程1)和一个线程接收传入的消息(从流通图书馆线程2)。
应用推荐