Allow event-handler cancelation

Andreas Ericsson ae at op5.se
Tue Mar 8 10:29:55 CET 2011


On 03/08/2011 10:24 AM, Matthieu Kermagoret wrote:
> Hi list,
> 
> Currently event-handlers can be overriden by NEB modules using the
> NEBERROR_CALLBACKOVERRIDE macro. Attached patch also allo the
> NEBERROR_CALLBACKCANCEL macro to be used to cancel event-handler
> execution.
> 

NEBERROR_CALLBACKCANCEL is used as a one-time measure to cancel
checks, while NEBERROR_CALLBACKOVERRIDE is used to cancel them
without rescheduling them. I'm not sure if we want to muddy the
distinctions by having them mean the same for things that aren't
re-scheduled automagically.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d




More information about the Developers mailing list