[LDB] Simplify ldb_wait()

Andrew Bartlett abartlet at samba.org
Mon Nov 12 22:17:13 GMT 2007

On Mon, 2007-11-12 at 08:43 -0500, simo wrote:
> On Mon, 2007-11-12 at 21:04 +1100, Andrew Bartlett wrote:
> > Sorry, I re-read the patch, and this statement isn't correct.
> > 
> > This isn't in the public sync API, which we have largely stuck to for
> > quite some time now.  Have we decided to freeze the async API at this
> > point (as I think it is still far from ideal)? 
> While not ideal, the async API is public, and unless there is a
> substantial benefit in a change I don't want to unnecessarily change it.

Given that, would you have a chance to re-factor this to your
expectations?  The current situation is madding to code (copy and paste
just creates more bugs) and maddening to debug, because of the extra
code to step though.  That's why I started all this.

I would also like to change, as I indicated, the returned handle, to
reduce the number of callers on the stack in case of callbacks, as this
is again maddening to debug, as one tries to handle gdb though loops of
loops of loops (all doing exactly nothing), down to the actual


Andrew Bartlett
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20071113/33f95806/attachment.bin

More information about the samba-technical mailing list