任务线程队列
ThreadQueue
01 Syntax
Microsoft.VisualBasic.Parallel.ThreadQueue
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| AddToQueue | 1 | Add an Action to the queue. |
| WaitQueue | 1 | Wait for all thread queue job done.(Needed if you are using multiThreaded queue) |
| ExecQueue | 1 | Execute the queue list |
| ThreadLoop | 1 | running all task inside current ThreadQueue.queue |
| GetPendingTasks | 1 | |
| Dispose | 1 |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| MultiThreadSupport | 1 | If TRUE, the Writing process will be separated from the main thread. |
| Sleep | 1 | 任务队列是否是处于休眠状态?(任务队列的内容是空的) |
| RunningTask | 1 | get the task that is running now. |
| lockQueue | 1 |
04 Fields
| Name | Overloads | Summary |
|---|---|---|
| queue | 1 | Just my queue |
| dummy | 1 | lock |
| xThread | 1 | Writer Thread ☺ |
| QSolverRunning | 1 | Is thread running? hum |
05 Members
AddToQueue(
Action)Add an Action to the queue.
Parameters
| Name | Type | Description |
|---|---|---|
A | Action |
|
WaitQueue
Wait for all thread queue job done.(Needed if you are using multiThreaded queue)
ExecQueue
Execute the queue list
ThreadLoop
running all task inside current ThreadQueue.queue
MultiThreadSupport
If TRUE, the Writing process will be separated from the main thread.
Sleep
任务队列是否是处于休眠状态?(任务队列的内容是空的)
RunningTask
get the task that is running now.
queue
Just my queue
dummy
lock
xThread
Writer Thread ☺
QSolverRunning
Is thread running? hum
lockQueue
GetPendingTasks()
Dispose()