Go to the documentation of this file.
   25 #ifndef CGU_NOTIFIER_H 
   26 #define CGU_NOTIFIER_H 
  183   static bool initialised;
 
  184   static pthread_t thread_id;
 
  189   static std::set<Notifier*>* object_set_p;
 
  193   static void read_pipe_cb(
bool&);
 
  
Definition: application.h:45
void block(const Callback::SafeFunctor &f)
bool in_main_thread()
Definition: notifier.h:210
Provides thread-safe signalling between a worker thread and the main program thread.
Definition: notifier.h:181
void disconnect(const Callback::SafeFunctor &f)
void unblock(const Callback::SafeFunctor &f)
Functor class holding a Callback::CallbackArg object, with thread-safe reference count.
Definition: callback.h:1078
void operator()()
Definition: notifier.h:252
A wrapper for unix anonymous pipes.
Definition: pipes.h:150
#define CGU_GLIB_MEMORY_SLICES_FUNCS
Definition: cgu_config.h:84
Callback::SafeFunctor connect(const Callback::SafeFunctor &f)
A class used for tracking EmitterArg and SafeEmitterArg connections.
Definition: emitter.h:368
This file provides a thread-safe signal/slot mechanism, with automatic disconnection.
A wrapper class for pthread mutexes.
Definition: mutex.h:109