sigx++
2.0.1
|
Derived classes denote that they are a thread wrapper. More...
#include <threadable.h>
Protected Member Functions | |
virtual void | on_startup () |
Initialize thread specific stuff just before entering the thread's mainloop. More... | |
virtual void | on_cleanup () |
cleanup other stuff just after quitting the mainloop. More... | |
![]() | |
void | set_dispatcher (dispatcher_ptr disp) |
![]() | |
dispatchable () | |
~dispatchable () throw () | |
void | invalidate_tunnels () |
Invalidate those tunnels (and disconnect them from signals) that have registered themselves with add_dispatcher_change_notify_callback() when the validity tracking was activated. More... | |
dispatcher_ptr | dispatcher () const throw () |
non-volatile access to the dispatcher pointer in the current thread More... | |
Additional Inherited Members | |
![]() | |
typedef void(* | func_dispatcher_change_notify )(void *) |
![]() | |
manual_dispatchable () | |
virtual | ~manual_dispatchable () |
![]() | |
void | add_dispatcher_change_notify_callback (void *data, func_dispatcher_change_notify func) const |
void | remove_dispatcher_change_notify_callback (void *data) const |
![]() | |
internal::rwlockable_dispatcher_ptr * | m_disp_ptr |
Derived classes denote that they are a thread wrapper.
Additionally, since a threadable is a dispatchable, derived classes denote their ability to participate automatically in threadsafe messaging.
|
inlineprotectedvirtual |
cleanup other stuff just after quitting the mainloop.
This method gives derived classes the possibility to clean up their things like thread private data right after quitting the mainloop.
|
inlineprotectedvirtual |
Initialize thread specific stuff just before entering the thread's mainloop.
This method gives derived classes the possibility to initialize their things like thread private data or connecting to the idle signal (via mainloop()->signal_idle() in case of a glib_threadable) just before entering the mainloop.