summaryrefslogtreecommitdiff
path: root/lib/pthreadpool
Commit message (Expand)AuthorAgeFilesLines
* Revert "pthreadpool: add a comment about a further optimization in pthreadpoo...Ralph Boehme2019-01-111-17/+0
* Revert "pthreadpool: test cancelling and freeing pending pthreadpool_tevent j...Ralph Boehme2019-01-111-434/+0
* Revert "pthreadpool: add pthreadpool_tevent_[current_job_]per_thread_cwd()"Ralph Boehme2019-01-112-33/+0
* Revert "pthreadpool: add tests for pthreadpool_tevent_[current_job_]per_threa...Ralph Boehme2019-01-111-144/+0
* Revert "pthreadpool: call unshare(CLONE_FS) if available"Ralph Boehme2019-01-113-56/+0
* Revert "pthreadpool: add pthreadpool_restart_check[_monitor_{fd,drain}]()"Ralph Boehme2019-01-113-365/+0
* Revert "pthreadpool: implement pthreadpool_tevent_wrapper_create() infrastruc...Ralph Boehme2019-01-112-433/+1
* Revert "pthreadpool: test cancelling and freeing jobs of a wrapped pthreadpoo...Ralph Boehme2019-01-111-573/+0
* Revert "pthreadpool: we need to use pthreadpool_tevent_per_thread_cwd() on th...Ralph Boehme2019-01-111-2/+1
* Revert "pthreadpool: ignore the return value of poll(NULL, 0UL, 1)"Ralph Boehme2019-01-111-2/+2
* Revert "pthreadpool: reset monitor_fd after calling tevent_fd_set_auto_close()"Ralph Boehme2019-01-111-1/+0
* pthreadpool: reset monitor_fd after calling tevent_fd_set_auto_close()Stefan Metzmacher2018-07-311-0/+1
* pthreadpool: ignore the return value of poll(NULL, 0UL, 1)Stefan Metzmacher2018-07-311-2/+2
* pthreadpool: we need to use pthreadpool_tevent_per_thread_cwd() on the caller...Stefan Metzmacher2018-07-271-1/+2
* pthreadpool: add a missing includeRalph Boehme2018-07-252-0/+2
* pthreadpool: test cancelling and freeing jobs of a wrapped pthreadpool_teventRalph Boehme2018-07-241-0/+573
* pthreadpool: implement pthreadpool_tevent_wrapper_create() infrastructureStefan Metzmacher2018-07-242-1/+433
* pthreadpool: add pthreadpool_restart_check[_monitor_{fd,drain}]()Stefan Metzmacher2018-07-243-0/+365
* pthreadpool: add tests for pthreadpool_tevent_[current_job_]per_thread_cwd()Stefan Metzmacher2018-07-241-0/+144
* pthreadpool: add pthreadpool_tevent_[current_job_]per_thread_cwd()Stefan Metzmacher2018-07-242-0/+33
* pthreadpool: call unshare(CLONE_FS) if availableRalph Boehme2018-07-243-0/+56
* pthreadpool: test cancelling and freeing pending pthreadpool_tevent jobs/poolsRalph Boehme2018-07-241-0/+434
* pthreadpool: add a comment about a further optimization in pthreadpool_tevent...Stefan Metzmacher2018-07-241-0/+17
* pthreadpool: maintain a list of job_states on each pthreadpool_tevent_glueStefan Metzmacher2018-07-241-24/+78
* pthreadpool: add helgrind magic to PTHREAD_TEVENT_JOB_THREAD_FENCE_*()Stefan Metzmacher2018-07-241-0/+34
* pthreadpool: add some lockless coordination between the main and job threadsStefan Metzmacher2018-07-242-5/+221
* pthreadpool: replace assert_return_code(ret, 0); with assert_int_equal(ret, 0);Stefan Metzmacher2018-07-241-3/+3
* pthreadpool: test pthreadpool_tevent_max_threads() returns the expected resultStefan Metzmacher2018-07-241-0/+10
* pthreadpool: make sure a pthreadpool is marked as stopped in child processesStefan Metzmacher2018-07-241-0/+1
* pthreadpool: allocate glue->tctx on glue as memory context.Stefan Metzmacher2018-07-121-1/+1
* pthreadpool: maintain a global list of orphaned pthreadpool_tevent_jobsStefan Metzmacher2018-07-122-0/+43
* pthreadpool: make use of pthreadpool_stop() in pthreadpool_tevent_destructor()Stefan Metzmacher2018-07-121-2/+7
* pthreadpool: add pthreadpool_tevent_job_cancel()Stefan Metzmacher2018-07-121-0/+40
* pthreadpool: split out pthreadpool_tevent_job from pthreadpool_tevent_job_stateStefan Metzmacher2018-07-121-66/+172
* pthreadpool: let pthreadpool_tevent_job_send() fail with an invalid poolStefan Metzmacher2018-07-121-0/+9
* pthreadpool: split out a pthreadpool_stop() from pthreadpool_destroy()Stefan Metzmacher2018-07-123-26/+129
* pthreadpool: don't process further jobs when shutting downStefan Metzmacher2018-07-121-3/+6
* pthreadpool: add pthreadpool_cancel_job()Stefan Metzmacher2018-07-123-0/+78
* pthreadpool: add pthreadpool_tevent_max_threads() and pthreadpool_tevent_queu...Stefan Metzmacher2018-07-122-0/+21
* pthreadpool: add pthreadpool_max_threads() and pthreadpool_queued_jobs() helpersStefan Metzmacher2018-07-123-0/+54
* pthreadpool: expand test_create() to check unlimited, sync and one thread poolStefan Metzmacher2018-07-121-13/+70
* pthreadpool: fix helgrind error in pthreadpool_free()Stefan Metzmacher2018-07-121-0/+5
* pthreadpool: use talloc_zero() in tests_cmocka.c setup_pthreadpool_tevent()Stefan Metzmacher2018-07-121-1/+1
* pthreadpool: use strict sync processing only with max_threads=0Stefan Metzmacher2018-07-121-5/+15
* pthreadpool: consitently use unlock_res for pthread_mutex_unlock() in pthread...Stefan Metzmacher2018-07-121-13/+13
* pthreadpool: explicitly use max_thread=unlimited for pthreadpool_tevent_init(...Stefan Metzmacher2018-07-122-2/+4
* pthreadpool: use unsigned for num_idle, num_threads and max_threadsStefan Metzmacher2018-07-121-4/+4
* pthreadpool: correctly handle pthreadpool_tevent_register_ev() failuresStefan Metzmacher2018-07-121-2/+1
* pthreadpool: Fix deadlockVolker Lendecke2017-12-131-0/+3
* pthreadpool: Add some assertsVolker Lendecke2017-12-131-3/+7