summaryrefslogtreecommitdiffstats
path: root/src/util/u_queue.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2018-07-03 14:48:16 -0400
committerMarek Olšák <[email protected]>2018-07-04 21:54:39 -0400
commitb238e33bc9d48b814370da4a9e49c431981053cc (patch)
treea1d83d2b9499114e57e31b230ba10dad1caf490b /src/util/u_queue.h
parent7149bffe669a5067bc332d017e8a501474333a7f (diff)
kutil/queue: add a process name into a thread name
v2: simplifications Reviewed-by: Timothy Arceri <[email protected]> (v1) Reviewed-by: Eric Engestrom <[email protected]> (v1)
Diffstat (limited to 'src/util/u_queue.h')
-rw-r--r--src/util/u_queue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/u_queue.h b/src/util/u_queue.h
index d702c4bce8d..714d9243f00 100644
--- a/src/util/u_queue.h
+++ b/src/util/u_queue.h
@@ -199,7 +199,7 @@ struct util_queue_job {
/* Put this into your context. */
struct util_queue {
- const char *name;
+ char name[14]; /* 13 characters = the thread name without the index */
mtx_t finish_lock; /* only for util_queue_finish */
mtx_t lock;
cnd_t has_queued_cond;