HHandle is the pointer to the thread handle.
hHandle是指向线程句柄的指针。
LpThreadAttributes is a pointer to the thread attributes that determines whether the thread handle can be inherited by the child process.
lpThreadAttributes是指向线程属性的指针,决定了线程句柄是否能由子进程继承。
Closing a thread handle does not terminate the associated thread. To remove a thread object, you must terminate the thread, then close all handles to the thread.
关闭一个线程句柄不回结束关联的线程。要移除一个线程对象,你必须结束线程,然后关闭所有的线程句柄。
This requires a context switch to the kernel thread to handle the task of moving data to and from disk.
这要求上下文切换到内核线程,以处理将数据移动到磁盘以及从磁盘移出数据的任务。
A thread is created to handle each new user connection.
一个线程被创建来处理每个新用户连接。
A thread is allocated to handle shutdown events.
一个线程被分配为处理关机事件。
The default behavior is to handle these responses synchronously so that the container waits for the response message and does not continue processing in that thread.
默认行为是同步处理这些响应,以便容器等待响应消息,不在那个线程中继续处理。
If a service thread does not handle an exception due to programming error, it will kill the whole application.
如果服务线程因编程错误而没有处理某个异常,则会造成整个应用程序崩溃。
If you find yourself creating threads to handle short-lived tasks, you should definitely consider using a thread pool instead.
如果您要自己创建线程来处理生存期很短的任务,那么您绝对应该考虑使用线程池来替代。
It consists of an interpreter for the output of a recipe construct compiler coupled with an execution thread manager to handle recipe construct elements that can be multitasked.
它由一个解释器和一个执行线程管理程序组成,前者用于处理配方构造编译器的输出,后者用于处理可作为多任务执行的配方构造元素。
Another possibility is to fork a separate low-priority thread during startup to perform initialization when the system is idle, although this choice requires more care to handle synchronization.
还有一种可能是在启动时派生一个单独的低优先级的线程,当系统空闲时再去完成初始化,不过这种方法需要特别注意处理好同步。
The point here is that if your code is running on the UI thread, the application can't handle UI events from the OS.
问题的重点在于如果UI线程在运行您的代码,应用程序将无法再处理来自OS的UI事件。
The factory class keeps a static map of the threads that have been connected and can either return the existing connection handle, or create and store the connection handle when called by a thread.
工厂类保留已连接的线程的静态映射,可以在线程进行调用时返回现有连接句柄,或创建并存储连接句柄。
Asynchronous in this case means "punt my IO operation to a built-in thread pool", with subsequent code checking on the status of those operations and getting results from a "future" handle.
在这里,异步的意义在于“把IO操作放到内置的线程池”,通过代码检查操作状态,获得“未来”句柄结果。
WebSphere Application Server is designed to process a large number of parallel short-time tasks, and work queues and thread pools are two components that are used often to handle parallel workload.
WebSphereApplicationServer旨在处理大量的并行短时间任务,工作队列和线程池是两个经常用来处理并行工作负载的组件。
In most cases, this thread pool does not need to be adjusted because Web container threads are non-blocking and can handle multiple MDM service requests concurrently.
在大多数情况下,无需调整此线程池,因为Web容器线程是无阻塞的,并且可以同时处理多个MDM服务请求。
You should only access properties of a control (that includes a Form) from the thread that owns the control's underlying window handle.
您应该只通过拥有控件底层窗口句柄的线程访问(包含Form)控件的属性。
To handle more complex interactions with a worker thread, you might consider using a Handler in your worker thread, to process messages delivered from the UI thread.
为了用工作线程完成更加复杂的交互处理,可以考虑在工作线程中用Handler来处理UI线程分发过来的消息。
As it detects a request, it spawns a thread of URIServerThread that will handle the connection with the TCP client.
在侦听到请求时,它将生成处理与TCP客户机之间的连接的URIServerThread线程。
At first, this seems to work fine, because it creates a new thread to handle the network operation.
乍看起来,这段代码似乎能运行得很好,因为创建了一个新的线程来处理访问网络的操作。
Certainly, in some small cases, it's a bit easier to fire off of a helper thread to handle small jobs.
在某些情况下,使用辅助线程处理小作业肯定比较容易。
Each thread can then handle its event using a synchronous programming model.
每一个线程能处理他的事件用同步的程序模型。
Handle to the thread that installed the debugging filter function.
安装调试过滤方法的线程的句柄。
Use a thread to handle multiple files in bulk, this is my deal with the fingerprint image database used by the gadget.
用一个线程对多个文件进行批量处理,这是我处理指纹图像数据库时所用的小工具。
To prepare to do this, you need to store a handle to the task's thread when you create the task.
为了做到这一点,当初在创建任务时,你应该存储一个该线程的句柄。
When a finalizer throws an exception that it does not handle, the runtime prints the exception stack trace to the console and then allows the finalizer thread to resume running finalizers.
当终结器引发它无法处理的异常时,运行时将把异常堆栈跟踪打印至控制台,然后允许终结器线程继续运行终结器。
When a task throws an exception that it does not handle, the runtime prints the exception stack trace to the console and then returns the thread to the thread pool.
当某个任务引发了它无法处理的异常时,运行时将把异常堆栈跟踪打印至控制台,然后将线程返回至线程池。
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可以通过发送消息给拥有该句柄的窗口对象。
Supports multiple profiles, each configured to start a service separate thread to handle the task items specified database or XML.
支持多个配置文件,每个配置单独启动一个服务线程,处理指定的数据库任务项或XML。
Supports multiple profiles, each configured to start a service separate thread to handle the task items specified database or XML.
支持多个配置文件,每个配置单独启动一个服务线程,处理指定的数据库任务项或XML。
应用推荐