diff options
Diffstat (limited to 'lib/workqueue.h')
-rw-r--r-- | lib/workqueue.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/workqueue.h b/lib/workqueue.h index 5ad25893..19b44041 100644 --- a/lib/workqueue.h +++ b/lib/workqueue.h @@ -84,11 +84,14 @@ struct work_queue unsigned int max_retries; unsigned int hold; /* hold time for first run, in ms */ + + unsigned long yield; /* yield time in us for associated thread */ } spec; /* remaining fields should be opaque to users */ struct list *items; /* queue item list */ unsigned long runs; /* runs count */ + unsigned long yields; /* yields count */ struct { unsigned int best; |