C# Class ZForge.Controls.TreeViewAdv.Threading.AbortableThreadPool

ファイルを表示 Open project: zhuangyy/Motion

Public Methods

Method Description
Cancel ( WorkItem item, bool allowAbort ) : WorkItemStatus
CancelAll ( bool allowAbort ) : void
IsMyThread ( Thread thread ) : bool
QueueUserWorkItem ( WaitCallback callback ) : WorkItem
QueueUserWorkItem ( WaitCallback callback, object state ) : WorkItem

Private Methods

Method Description
HandleItem ( object ignored ) : void

Method Details

Cancel() public method

public Cancel ( WorkItem item, bool allowAbort ) : WorkItemStatus
item WorkItem
allowAbort bool
return WorkItemStatus

CancelAll() public method

public CancelAll ( bool allowAbort ) : void
allowAbort bool
return void

IsMyThread() public method

public IsMyThread ( Thread thread ) : bool
thread Thread
return bool

QueueUserWorkItem() public method

public QueueUserWorkItem ( WaitCallback callback ) : WorkItem
callback WaitCallback
return WorkItem

QueueUserWorkItem() public method

public QueueUserWorkItem ( WaitCallback callback, object state ) : WorkItem
callback WaitCallback
state object
return WorkItem