~markwright/scalestack/zeromq

« back to all changes in this revision

Viewing changes to scalestack/kernel/core.h

  • Committer: Eric Day
  • Date: 2011-01-25 20:51:51 UTC
  • mto: This revision was merged to the branch mainline in revision 63.
  • Revision ID: eday@oddments.org-20110125205151-rlam04duepoczo9v
Moved common into kernel, other related cleanup.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
#include <string>
29
29
#include <vector>
30
30
 
31
 
#include <scalestack/common/macros.h>
32
 
#include <scalestack/common/notification.h>
33
31
#include <scalestack/kernel/logger.h>
 
32
#include <scalestack/kernel/macros.h>
34
33
 
35
34
namespace scalestack
36
35
{
232
231
  void run(void);
233
232
 
234
233
  /**
 
234
   * Notify the main loop that it should wake up and process pending events.
 
235
   */
 
236
  void notify(void);
 
237
 
 
238
  /**
235
239
   * Notify the kernel core that it should start the shutdown process. This is
236
240
   * usually called from signal handlers or modules providing administrative
237
241
   * functions.
339
343
  bool _need_config;
340
344
  bool _shutdown_request;
341
345
  bool _iterator_on_modules;
342
 
  common::notification _run_notification;
 
346
  int _notification_pipe[2];
343
347
  files _open_files;
344
348
  paths _paths;
345
349
  modules _modules;