diff options
author | Qball Cow <qball@blame.services> | 2024-02-11 13:59:11 +0100 |
---|---|---|
committer | Qball Cow <qball@blame.services> | 2024-02-11 14:00:03 +0100 |
commit | 13c2a617666d5ee054fee2bba6abc3ce6a557570 (patch) | |
tree | 84ccfd80e96645fa716439a79299fe9e3a0f2df2 /include | |
parent | 3dc3e2d6164ab4a8720d044575a09d43f06eab0d (diff) |
[ThreadPool] Sort items in the queue based on priority
Diffstat (limited to 'include')
-rw-r--r-- | include/rofi-types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/rofi-types.h b/include/rofi-types.h index 4fc878d4..4fdb3e37 100644 --- a/include/rofi-types.h +++ b/include/rofi-types.h @@ -370,6 +370,7 @@ typedef struct rofi_int_matcher_t { */ typedef struct _thread_state { void (*callback)(struct _thread_state *t, gpointer data); + int priority; } thread_state; extern GThreadPool *tpool; |