~cbehrens/scalestack/python-dev

« back to all changes in this revision

Viewing changes to ScaleStack/Event/Service.h

  • Committer: Eric Day
  • Date: 2010-05-02 02:36:49 UTC
  • Revision ID: eday@oddments.org-20100502023649-vga7zligifr9ijic
Fixed event handler race condition.

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
  void _removeHandler(Handler* handler);
94
94
 
95
95
  bool _shutdown;
 
96
  size_t _handler_count;
96
97
  ServiceProvider& _service_provider;
97
98
  pthread_mutex_t _handler_mutex;
98
99
  Common::Notification _shutdown_notification;