这样允许您创建一个任意复杂的数据结构,并将它作为一个指针传送给需要在这个数据结构上进行操作的线程。
This allows you to create an arbitrarily complicated data structure for the thread to work on, and pass it in as a single pointer.
乍看起来,这段代码似乎能运行得很好,因为创建了一个新的线程来处理访问网络的操作。
At first, this seems to work fine, because it creates a new thread to handle the network operation.
线程的创建和管理只需要较小的操作系统开销和较少的系统资源。
Threads can be created and managed less operating system overhead and fewer system resources.
aspnet _ isapi模型创建固定数量的命名管道并且通过一个小的线程池使用重叠操作为并发的链接服务。
The aspnet_isapi module creates a fixed number of named pipes and USES overlapped operations to service simultaneous connections through a small pool of threads.
这可以解决一些问题,因为在一些JVM 中,创建Thread是一项重量型的操作,重用现有 Thread比创建新线程要容易得多。
This is a recipe for trouble because in some JVMs, creating a Thread is a heavyweight operation, and it's far better to reuse existing Threads than to create new ones.
中文版的错误提示应该是:“线程间操作无效:从不是创建控件XXXXXXXXXX的线程访问它”。
Cross thread operation not valid: Control "XXXXXXXXXX" accessed from a thread other than the thread it was created.
必须在托管代码可在操作系统线程上执行之前对这两个对象进行创建和实例化。
The two objects must be created and instantiated before managed code can execute on an operating system thread.
在创建操作窗格控件的基础句柄所在线程上异步执行委托。
Executes the specified delegate asynchronously on the thread that the actions pane control's underlying handle was created on.
显示公共语言运行时创建和拥有的、作为托管线程对象的基础线程的本机操作系统线程的数目。
Displays the number of native operating system threads created and owned by the common language runtime to act as underlying threads for managed thread objects.
NETCOM互操作正在缓存对在此线程上创建的所有COM对象的引用,并且线程在这些引用被释放之前正在关闭。
NET COM interop is caching references to all the COM objects that have been created on this thread, and the thread is shutting down before these references are released.
NETCOM互操作正在缓存对在此线程上创建的所有COM对象的引用,并且线程在这些引用被释放之前正在关闭。
NET COM interop is caching references to all the COM objects that have been created on this thread, and the thread is shutting down before these references are released.
应用推荐