Request to un-deprecate tevent_loop_allow_nesting()

Volker Lendecke Volker.Lendecke at SerNet.DE
Mon Nov 22 23:00:39 MST 2010


On Tue, Nov 23, 2010 at 07:46:48AM +1100, Andrew Bartlett wrote:
> 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. 

We need to make sure that nested event loops never happen in
Samba3. As long as tevent aborts whenever it finds a nested
event loop in Samba3 context I am fine.

Volker


More information about the samba-technical mailing list