[PATCH] pthreadpool: create a tevent_threaded_context per registered event context

Jeremy Allison jra at samba.org
Thu Nov 16 00:30:28 UTC 2017

On Tue, Nov 14, 2017 at 04:35:40PM +0100, Ralph Böhme wrote:
> Hi!
> Attached is a patch that enhances pthreadpool_tevent to create one
> tevent_threaded_context per registered event context instead of per
> pthreadpool_tevent_job_send request.
> Please review carefully -- the rundown is a bit tricky -- and push if
> happy. Thanks!
> Fwiw: it passed two private autobuilds and it survives smbtorture
> local.messaging tests with a modified messaging subsystem that sends out all
> messages via helper threads.

FYI, I'm reviewing this now, although it will take me a while
to make sure I understand it before giving a +1 :-).



More information about the samba-technical mailing list