[PATCH] tevent-glib-glue

Ralph Böhme slow at samba.org
Thu Mar 28 10:39:14 UTC 2019



> Am 28.03.2019 um 11:24 schrieb Ralph Böhme via samba-technical <samba-technical at lists.samba.org>:
> 
> Am 28.03.2019 um 11:09 schrieb Ralph Böhme <slow at samba.org>:
>> 
>> Hi Noel,
>> 
>> On Thu, Mar 28, 2019 at 09:12:56AM +0000, Noel Power wrote:
>>> On 27/03/2019 19:46, Ralph Böhme wrote:
>>>> Looks like we have to call dispatch unconditionally at this time.
>>> yep, maybe not a bad thing to have the processing similar to
>>> g_main_context_iteration in any case, good work!!
>> 
>> thanks. Updated patchset attached.
> 
> drat, forgot to test it on sn-devel and just found out that it's still hanging there with the change. Looking...

well, if you think about it, it makes sense... As the problem is that the revents we try to pass from tevent to glib is dropped in g_main_context_check, so the the fd event source is not marked as G_SOURCE_READY, calling g_main_context_dispatch() doesn't help.

Looks like we have to wait for the sn-devel upgrade to sn-devel-184 to happen. I'll see if the test passes there. Fingers crossed...

-slow


More information about the samba-technical mailing list