CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - worker thread
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Sub Category
GUI Develop
Windows Kernel
WinSock-NDIS
Driver Develop
ADO-ODBC
GDI-Bitmap
CSharp
.net
Multimedia Develop
Communication
Shell api
ActiveX/DCOM/ATL
IME Develop
ISAPI-IE
Hook api
Screen saver
DirextX
Process-Thread
Console
File Operate
Printing program
Multi Monitor
DNA
Other
Search - worker thread - List
[
GDI-Bitmap
]
WorkerThread
DL : 0
WorkerThread线程实例,C#建立WorkerThread 工作者线程 的例子,代码中已定义工作者线程中调用的公用委托,建立事件标识,用于停止线程,建立委托实例,用于调用接口函数,自定义了一个工作者线程处理函数,若停止线程若其正在运行,模拟长时间的操作,运行于工作者线程中,异步调用要使用BeginInvoke方法,线程完成,通知主线程。-`WorkerThread thread instance, C# build WorkerThread worker threads example, the code has been commissioned to define the common worker thread calls, create an event logo, used to stop the thread, the establishment of a delegate instance, used to call the interface functions, customized a worker thread handler, if stop the thread if it is running, simulate a long operation, running in worker threads, asynchronous call to use BeginInvoke method, the thread is completed, notify the main thread.
Date
: 2026-01-01
Size
: 9kb
User
:
epudn29
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.