C# Class Brunet.Concurrent.TaskQueue

Afficher le fichier Open project: pstjuste/brunet Class Usage Examples

Protected Properties

Свойство Type Description
_is_active int
_sync object
_task_to_workers System.Collections.Hashtable
_worker_count int

Méthodes publiques

Méthode Description
Enqueue ( TaskWorker new_worker ) : void
HasTask ( object task ) : bool
TaskQueue ( ) : System

Méthodes protégées

Méthode Description
Start ( TaskWorker tw ) : void
TaskEndHandler ( object worker, EventArgs args ) : void

Method Details

Enqueue() public méthode

public Enqueue ( TaskWorker new_worker ) : void
new_worker TaskWorker
Résultat void

HasTask() public méthode

public HasTask ( object task ) : bool
task object
Résultat bool

Start() protected méthode

protected Start ( TaskWorker tw ) : void
tw TaskWorker
Résultat void

TaskEndHandler() protected méthode

protected TaskEndHandler ( object worker, EventArgs args ) : void
worker object
args System.EventArgs
Résultat void

TaskQueue() public méthode

public TaskQueue ( ) : System
Résultat System

Property Details

_is_active protected_oe property

protected int _is_active
Résultat int

_sync protected_oe property

protected object _sync
Résultat object

_task_to_workers protected_oe property

protected Hashtable,System.Collections _task_to_workers
Résultat System.Collections.Hashtable

_worker_count protected_oe property

protected int _worker_count
Résultat int