Parallel based on the threading
ParallelExtension
01 Syntax
Microsoft.VisualBasic.Parallel.ParallelExtension
02 Methods
03 Members
DoEvents``1(
Func(Of ``0))execute the given func, and hen do events
Type Parameters
| Name | Description |
|---|---|
T |
Parameters
| Name | Type | Description |
|---|---|---|
func | Func(Of ``0) | - |
RunTask(ThreadStart,
String)Start a new thread and then returns the background thread task handle.
Parameters
| Name | Type | Description |
|---|---|---|
start | ThreadStart | - |
Returns
the thread method Thread.Start() is already be called
AsyncTask(ThreadStart)
运行一个后台任务
Parameters
| Name | Type | Description |
|---|---|---|
start | ThreadStart | - |
DoEvents(
Func(Of T))