| Iris Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
#define IRIS_LFSCHEDULER_CONST (obj) IrisLFScheduler; IrisScheduler* iris_lfscheduler_new (void); IrisScheduler* iris_lfscheduler_new_full (guint min_threads, guint max_threads);
IrisLFScheduler is a lock-free scheduler implementation. Don't be fooled, lock-free is rarely the right choice. This scheduler will cause your system to spin cpu's while trying to perform a work-load as fast as possible.
IrisScheduler* iris_lfscheduler_new (void);
Creates a new instance of IrisLFScheduler.
Returns : |
the newly created IrisLFScheduler instance. |
IrisScheduler* iris_lfscheduler_new_full (guint min_threads, guint max_threads);
Creates a new instance of IrisLFScheduler.
|
A guint containing the minimum number of threads |
|
A guint containing the maximum number of threads |
Returns : |
the newly created IrisLFScheduler instance. |