summaryrefslogtreecommitdiff
path: root/src/util/u_queue.c
AgeCommit message (Expand)AuthorFilesLines
2022-10-20util: Call function mtx_init on exit_mutex to replace the usage of _MTX_INITI...Yonggang Luo1-1/+2
2022-08-22util: Use literal instead call to list_inithead in u_queue.cYonggang Luo1-2/+4
2022-06-15util/c11: Update function u_thread_create to be c11 conformanceYonggang Luo1-3/+1
2022-06-09util: Use timespec_get directly, it's always presentYonggang Luo1-4/+0
2022-05-13util/queue: handle thread cration failure in util_queue_adjust_num_threadsGreg Depoire--Ferrer1-1/+3
2022-05-13util/queue: add missing space to comment in util_queue_destroyGreg Depoire--Ferrer1-1/+1
2022-05-13util/u_queue: rework UTIL_QUEUE_INIT_SCALE_THREADS to scale fasterPierre-Eric Pelloux-Prayer1-6/+7
2022-04-20util: Remove util_cpu_detectJason Ekstrand1-3/+0
2021-11-19util/queue: fix a data race detected by TSAN when finishing the queueSamuel Pitoiset1-3/+2
2021-10-05util/queue: use simple_mtx_t for finish_lockMarek Olšák1-12/+12
2021-07-28util/queue: Don't crash in util_queue_destroy when init failedIan Romanick1-6/+9
2021-06-17util/u_queue: add UTIL_QUEUE_INIT_SCALE_THREADS flagPierre-Eric Pelloux-Prayer1-3/+10
2021-06-17util/u_queue: move function definition upPierre-Eric Pelloux-Prayer1-7/+7
2021-06-16util/queue: add a global data pointer for the queue objectMike Blumenkrantz1-5/+8
2021-05-14util/queue: don't require a fence when adding a jobMike Blumenkrantz1-3/+6
2021-03-02util: Always use timespec_get on Windows.Jose Fonseca1-1/+1
2021-02-26util: Add accessor for util_cpu_capsRob Clark1-1/+1
2021-02-26util/u_queue: Ensure num_cpu_mask_bits is validRob Clark1-0/+4
2021-01-28util: Use explicit relaxed reads for u_queueWitold Baryluk1-2/+2
2021-01-16Fall back on clock_gettime when timespec_get() is unavailableJeremy Huddleston Sequoia1-0/+4
2021-01-05util: replace UTIL_MAX_CPUS by util_cpu_caps.num_cpu_mask_bitsMarek Olšák1-2/+3
2020-10-30util: add util_set_thread_affinity helpers including Windows supportMarek Olšák1-7/+3
2020-10-30util: consolidate thread_get_time functionsMarek Olšák1-1/+1
2020-05-08Linux: Change minimum priority threads from SCHED_IDLE to nice 19 SCHED_BATCH.Con Kolivas1-3/+18
2020-03-30util/u_queue: fix race in total_jobs_size accessRhys Perry1-2/+2
2019-10-28util: remove LIST_DEL macroTimothy Arceri1-1/+1
2019-10-28util: remove LIST_ADD macroTimothy Arceri1-1/+1
2019-10-28util: remove LIST_INITHEAD macroTimothy Arceri1-1/+1
2019-10-23util/u_queue: skip util_queue_finish if num_threads is 0Marek Olšák1-0/+7
2019-09-19util/u_queue: track job size and limit the size of queue growthTimothy Arceri1-3/+14
2019-08-23util: fix compilation on macosLionel Landwerlin1-1/+1
2019-07-19util: use standard name for snprintf()Eric Engestrom1-4/+4
2019-04-01util/queue: add util_queue_adjust_num_threadsMarek Olšák1-6/+44
2019-04-01util/queue: hold a lock when reading num_threads in util_queue_finishMarek Olšák1-3/+3
2019-04-01util/queue: add ability to kill a subset of threadsMarek Olšák1-18/+34
2019-04-01util/queue: move thread creation into a separate functionMarek Olšák1-24/+32
2018-10-06util/u_queue: add UTIL_QUEUE_INIT_SET_FULL_THREAD_AFFINITYMarek Olšák1-0/+14
2018-08-02kutil/queue: use util_snprintf() in util_queue_initAndres Gomez1-3/+3
2018-08-01util: move process.[ch] to u_process.[ch]Dylan Baker1-1/+1
2018-07-05util: u_queue: fix android build errorLionel Landwerlin1-1/+1
2018-07-04util/queue: remove leftover debug codeMarek Olšák1-1/+0
2018-07-04kutil/queue: add a process name into a thread nameMarek Olšák1-2/+30
2018-04-27util/u_queue: fix a deadlock in util_queue_finishMarek Olšák1-0/+9
2017-11-20util/u_queue: fix timeout handling in util_queue_fence_wait_timeoutNicolai Hähnle1-1/+1
2017-11-09util/u_queue: add util_queue_fence_wait_timeoutNicolai Hähnle1-1/+81
2017-11-09u_queue: add util_queue_finish for waiting for previously added jobsNicolai Hähnle1-0/+35
2017-11-09u_queue: add a futex-based implementation of fencesNicolai Hähnle1-0/+2
2017-11-09u_queue: add util_queue_fence_resetNicolai Hähnle1-3/+1
2017-11-09u_queue: export util_queue_fence_signalNicolai Hähnle1-1/+1
2017-09-29util/queue: fix a race condition in the fence codeNicolai Hähnle1-0/+13