Job offers a similar interface as Thread, and can be used to asynchronously execute code.
Job提供了和Thread类似的接口,可以用于异步执行代码。
The first condition disqualifies volatile variables from being used as thread-safe counters.
第一个条件的限制使volatile变量不能用作线程安全计数器。
Swing components must be accessed in the EDT, unless you call methods documented as thread-safe.
Swing组件必须在EDT中进行访问,除非您调用文档化为线程安全的方法。
If the Selection Options is set to circle, you can select circular edges or circles as thread geometry.
如果选择选项设置为圆形,你可以选择圆形边缘或界线程几何。
This tracing starts with the root set, which consists of internal structures such as thread stacks and global references to objects.
这个跟踪以根集开始,它由一些内部结构组成,比如线程栈和对象的全局引用。
A fleece, again, is destroyed as a fleece by being spun into thread; and the thread cannot be used as thread when woven into cloth.
再者,羊毛在纺成线时会被毁掉,而线在织成毛料时再也不能当线使用。
The Linux kernel performs thread scheduling based on static controls, such as thread priority levels, and on certain dynamic conditions of the threads executing in the system.
Linux核心可以根据静态控制(如线程优先级级别)和系统中执行的线程的某些动态条件下来执行线程调度。
The makeup torque, rounds and rotary rate, as well as thread sealing grease and thread processing precision are all important elements affecting connection quality of casings.
紧螺纹的扭矩、圈数及转速和螺纹密封脂、螺纹加工精度等都是影响螺纹联接质量的重要因素。
When analysing the structure of the Thread Environment Block (TEB - also known as Thread Information Block TIB) on different operating systems, we find additional data followed by this structure.
分析不同操作系统的线程环境块(TEB - - -也叫做线程信息块TIB),我们可以看到这个结构的附加数据。
As he had a compassionate heart he pulled out his needle and thread, and sewed her together.
他怀着一颗怜悯的心,抽出针线,把她缝在了一起。
Enables multiple collaborating objects to participate in a single transaction, by passing the transactional context as part of the thread.
通过将事务上下文作为线程的一部分进行传递,以允许多个合作对象参与单个事务。
This method will return null if the focus owner is not in the same context as the calling thread.
如果该焦点所有者未和调用线程处于同一个上下文中,那么该方法会返回空。
This breaks the one thread per request model, as the thread for a request never gets freed up.
这打破了每个请求使用一个线程的模型,因为用于一个请求的线程一直没有被释放。
On the other hand, if the lock is held for a longer time, spinning is wasteful as the spinning thread consumes CPU without doing anything useful.
另一方面,如果锁被占有很长时间,那么自旋的线程只会消耗CPU而不做任何有用的工作,因此带来浪费。
As each thread tries to write data for the first time, it tries to find an empty slot of the memory and marks it as busy.
当每个线程第一次尝试写入数据时,它会尝试寻找一个空的内存槽位,并将其标记为忙碌。
Since a 2d code ACTS as a thread that connects a physical label to a digital address, this may herald the use of such threads to weave an ever more intricate web.
2d条码就像一条线一样将一个标签与一个网址联系起来,这也预示着这些线将来会编制出更加复杂精密的网络。
As the thread passes through the collaborating objects, the transaction manager USES the thread's transaction context to perform all work.
当线程经过合作对象时,事务管理程序使用线程的事务上下文来执行所有的工作。
It's as if you were winding sewing thread on a spool.
这就像你在把线缠绕到一个线轴上去。
A thread at priority 6: This thread performs the same actions as the thread at priority 4.
优先级为6的线程:此线程执行的动作与优先级为4的线程相同。
As a result, each thread ends up waiting for a lock held by the other thread.
结果,每一个线程都会等待另一个线程所保持的锁。
For they stand together before the face of the sun even as the black thread and the white are woven together.
因为它们并立于阳光下,就像黑线与白线被编织在一起。
As such, the main thread is also sometimes called the UI thread.
因此,主线程有时也被叫做UI线程。
The spawned thread does not have access to the same resources as the main UI thread.
衍生线程不能访问主ui线程访问的资源。
As each thread reaches a checkpoint, it calls SignalAndWait.
每个线程达到检查点时,便要调用Barrier的SignalAndWait方法。
In the first release of our plugin, the server was started as a new thread inside the Eclipse workbench.
在我们的插件的第一个版本中,服务器作为Eclipse工作台内部的一个新的线程启动。
As you can see, the ShowTimerEventFired method takes the current time and current thread name as arguments.
正如你所看到的,ShowTimerEventFired方法采用当前时间和当前线程名字作为参数。
This task is accomplished by calling interrupt() to "reinterrupt" the current thread, as shown in Listing 3.
该任务可以通过调用interrupt()以 “重新中断”当前线程来完成,如清单3 所示。
When the bot is used, this property is read and each custom class is run as a thread of the main Watchit bot.
当使用bot时,该属性会被读取且每个自定义类作为主watchit bot的一个线程运行。
When the bot is used, this property is read and each custom class is run as a thread of the main Watchit bot.
当使用bot时,该属性会被读取且每个自定义类作为主watchit bot的一个线程运行。
应用推荐