Request to un-deprecate tevent_loop_allow_nesting()

Andrew Bartlett abartlet at samba.org
Mon Nov 22 13:46:48 MST 2010


On Mon, 2010-11-22 at 11:00 +0100, Stefan (metze) Metzmacher wrote:
> Hi Brad,
> 
> doesn't
> 
> #define TEVENT_DEPRECATED 1
> #ifdef _DEPRECATED_
> #undef _DEPRECATED_
> #endif
> #define _DEPRECATED_
> #include <tevent.h>

I really don't think we should be forcing our API users to do that.
While I respect the views of those who disagree with nested event loops,
they are a fundamental part of how Samba4 operates, and I strongly
disagree with forcing our users to play games like this just to access
the expected functionality of Samba4.

This API can not be reasonably considered deprecated, as there is no
replacement.  It may be undesirable to some, but in that case projects
that don't wish to use it don't have to call it.  The source3 include
system could even #define it's name into something horrid along with the
C++ names etc, if such extreme measures were felt to be required. 

Otherwise, we are going to have to publish a distinct API for 'Samba4'
users, just to wrap the tevent API without just annoyances. 

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Cisco Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20101123/5d639486/attachment.pgp>


More information about the samba-technical mailing list