If thread a passes a window handle to thread B, then thread B can use this window handle to send or post messages to the window.
如果线程A向线程b传递一个窗口句柄,那么,线程B可以通过发送消息给拥有该句柄的窗口对象。
When a thread a tries to acquire a JUC lock, while this lock has been acquired by another thread, then thread a has to "stop" its execution and wait until this lock is released or times out.
当线程a试图去获得一个JUC锁,但这个锁却已经被另外一个线程获得,那么线程A不得不“停止”,直到这个锁被释放或者超时。
With the thread in her hand, the loving mother makes clothes for her son, who then travels far away from home.
慈母手中线,游子身上衣。
Then, any threads created in that thread group will get the new behavior when an unforeseen runtime exception happens.
然后,当发生未预料的运行时异常时,该线程组内创建的任何线程都将获得新的行为。
Synchronous: a client invokes a service that then executes on the same thread of execution as the client.
同步:客户端调用一个服务,该服务然后在与该客户端相同的执行线程上执行任务。
The thread then checks to see how many connections are in the free pool, and compares this to the value of the Minimum connections property.
线程然后进行检查,以确定空闲池中有多少个连接,将此值与最小连接属性的值进行比较。
A client invokes a service that then executes on its own thread, while the thread of execution in the client continues further processing.
客户端调用一个服务,该服务然后在自己的线程上执行任务,而客户端中的执行线程继续执行后续处理。
'There is a variegated thread that goes purple to white then back to purple,' he said.
“有一种杂色线,它的颜色从紫色变成白色,然后又变回紫色”,他说。
This completes all the processing at once and then turns over all the resources to the consumer thread.
在这种模式下,将依次完成各个处理过程,并将结果统一返回给消费线程。
If further connections are made, and that thread is busy, then the Broker's connection manager will wait until the thread finishes its work and becomes available.
如果进一步建立连接,并且线程处于繁忙状态,那么代理的连接管理器将一直等待下去,直到线程完成工作并变为可用。
If events are building up in this queue, but not in the queue in front of the collaboration thread pool, then increase the number of threads configured for the source adapter controller.
如果事件在此队列中堆积,但并没有在协作线程池前面的队列中堆积,则请增加为源适配器控制器配置的线程数量。
A high-priority thread could then receive two, or ten, or a hundred successive "time-slices" rather than just one this way.
那么,高优先级线程就可能接收到两个,或多个,或一百个连续的“时间片”,而不只是原来的一个。
If interaction was possible after the initial data was served, and the connection was kept open, then the thread could not be released and the server would not be able to serve many users.
如果提供初始数据之后仍可能存在交互,那么将连接保持为打开状态,因此线程就不能释放出来,服务器也就不能为很多用户服务。
This thread is then used for any further processing by the calling client (see Figure 3).
然后,此线程将被用于调用客户端后面的其它处理工作(参见图3)。
For example, if the mediation flow component is invoked synchronously, then the thread executing this request must be the thread that returns the response.
例如,如果以同步方式调用中介流组件,则执行此请求的线程必须是返回响应的线程。
If the pool class does not catch these, then the thread will simply exit and the size of the thread pool will be permanently reduced by one.
如果池类没有捕捉到它们,那么线程只会退出而线程池的大小将会永久减少一个。
Asynchronous - the consumer USES a pair of threads to invoke the service; one thread sends the request, then a separate thread receives the response.
异步——使用者通过两个线程调用服务;一个线程发送请求,而另一个单独的线程接收响应。
The queue is then read by a thread pool, which acquires the measurement and completes the trace process.
然后,线程池读取该队列,获取测量数据并完成跟踪流程。
And if each thread (ergo network connection) is busy, then the context switching to each thread can be significant.
另外,如果每个线程都忙于处理网络连接,线程之间的上下文切换会很频繁。
Mrs Chick contented herself with a glance of reproof, and then proceeded with the thread of her discourse.
奇克夫人责备地看了他一眼,也就罢了,然后接着刚才的话头,继续说下去。
The P1 thread then needs the same object but cannot acquire the lock until the P3 thread has released it.
P1线程需要同一个对象上的锁,但是在P3线程释放它之前,P1无法得到锁。
If life is a quilt, then love should be a thread. It can hardly be seen anywhere or anytime, but it's really there.
如果把生活看成一床被子,那么爱就是其中的线。
Thread 1 then begins to execute the code at //4, making inst non-null but before the constructor for Singleton executes.
线程1然后开始执行 //4 处的代码,同时使inst为非 null,但在Singleton 的构造函数执行前。
Thread 2 then executes and assigns instance to inst at //2.
然后执行线程2并在 //2 处将instance赋值给inst。
In case of an exception, the catch block simply called the exception publisher, then returned the executing thread back to the thread pool.
如果发生了异常,这个catch块只是简单地调用异常发布程序,然后将正在执行的线程返回到线程池中。
If another thread calls pthread_cond_signal on a condition, then a thread that was waiting on that condition variable is woken up.
如果另一个线程对一个条件变量调用pthread_cond_signal,那么那个等待这个条件而被阻塞的线程就会被唤醒。
On the other hand, if the calling thread needs to be blocked for a specific time, then pthread_cond_timedwait is used to block the thread.
在另外一方面,如果调用线程需要被阻塞一段确定的时间,那么就可以使用pthread_cond _ timedwait来阻塞这个线程。
Previous versions of libspe used a threaded system in which you invoked a thread and then waited for it.
libspe的之前版本使用了一个线程系统,其中您需要调用一个线程并等待它执行完成。
Previous versions of libspe used a threaded system in which you invoked a thread and then waited for it.
libspe的之前版本使用了一个线程系统,其中您需要调用一个线程并等待它执行完成。
应用推荐