• unknown's avatar
    WL#3337 (Event scheduler new architecture) · 377446fa
    unknown authored
    This is the first cut of separating Event_scheduler in two
    classes which are more specialized.
    Inheritance was used to separate methods and member variables.
    Still Event_scheduler is a child of Event_queue. This dependency
    will be removed soon.
    
    
    sql/event_data_objects.cc:
      add comments
    sql/event_db_repository.cc:
      coding style
    sql/event_db_repository.h:
      add a call, will be implemented later
    sql/event_queue.cc:
      Event_queue, still as super-class of Event_scheduler
    sql/event_queue.h:
      Event_queue as super-class of Event_scheduler. Trying to
      separate the two classes
    sql/event_scheduler.cc:
      Event_scheduler as child class of Event_queue.
      Trying to separate both classes.
    sql/event_scheduler.h:
      Event_scheduler as child class of Event_queue.
      Trying to separate both classes.
    sql/events.cc:
      Don't allocate on the stack the scheduler but on the heap.
      The exact way it is done will be changed, that's ok for now.
    377446fa
event_queue.cc 20.9 KB