#endif
}
+static int tevent_threaded_schedule_immediate_destructor(struct tevent_immediate *im)
+{
+ if (im->event_ctx != NULL) {
+ abort();
+ }
+ return 0;
+}
+
void _tevent_threaded_schedule_immediate(struct tevent_threaded_context *tctx,
struct tevent_immediate *im,
tevent_immediate_handler_t handler,
.schedule_location = location,
};
+ talloc_set_destructor(im, tevent_threaded_schedule_immediate_destructor);
+
ret = pthread_mutex_lock(&ev->scheduled_mutex);
if (ret != 0) {
abort();