summaryrefslogtreecommitdiff
path: root/glib/glibmm/dispatcher.h
Commit message (Collapse)AuthorAgeFilesLines
* Glib::Dispatcher: Don't send messages to a deleted Dispatcher.Kjell Ahlstedt2012-04-041-2/+5
| | | | | | | * glib/glibmm/dispatcher.h: Add missing usage rules. * glib/glibmm/dispatcher.cc: Avoid delivering messages to deleted Dispatchers. Don't block message delivery while a second main loop is running. Bug #651942.
* Change license header to mention Lesser General Public License version 2.1Deng Xiyue2009-01-191-4/+4
| | | | | | | | | | 2009-01-20 Deng Xiyue <manphiz@gmail.com> * Change license header to mention Lesser General Public License version 2.1 instead of Library General Public License, to be consistent with COPYING. svn path=/trunk/; revision=779
* Early spring cleaning. Also add a paragraph about Dispatcher on win32 toDaniel Elstner2007-01-201-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * glib/glibmm/dispatcher.{cc,h}: Early spring cleaning. Also add a paragraph about Dispatcher on win32 to the documentation. (DispatchNotifyData): Remove the 'tag' member from the struct that was always set to 0xdeadbeef in order to detect memory corruption. This is pointless, as we already check the DispatchNotifier pointer sent across the pipe, which is a far better indicator of corruption anyway. (warn_failed_pipe_io): Remove the err_no parameter and retrieve errno respectively GetLastError() within the function instead. (DispatchNotifier::conn_io_handler_): Remove, as we now inherit from sigc::trackable. I verified that this doesn't cause problems with threading in this particular case. (DispatchNotifier::DispatchNotifier): If creating the pipe failed and exceptions are disabled, call at least warn_failed_pipe_io() instead of doing nothing at all. (DispatchNotifier::*): Rework the win32 implementation so that it matches more closely the Dispatcher semantics on Unix. This still needs testing by someone on win32, though. So far I only verified that it compiles with dummy definitions of the win32 API. Also, I accidentally located the real cause of the race condition Cedric experienced in bug #109966. It was a bug in my patch, rather than in the example code. * examples/thread/dispatcher.cc: Cleanup. In particular, get rid of the Glib::RefPtr<> abuse with non-Glib::Object types. I don't believe we endorse such usage officially, so it shouldn't be in the examples. svn path=/trunk/; revision=370
* Merged changes from glibmm-2-10 branch.Murray Cumming2006-05-121-0/+1
|
* documentation fixes and corrections in the comments reflecting the shiftMartin Schulze2004-02-131-1/+1
| | | | | | | | | 2004-02-13 Martin Schulze <teebaum@cvs.gnome.org> * documentation fixes and corrections in the comments reflecting the shift to libsigc++ 2. * make all source files in example thread use libsigc++ 2 instead of libsigc++ 1.2.
* glibmm now uses libsigc++ 2 instead of libsigc++ 1.2. See bug #125061 forMurray Cumming2004-02-101-2/+2
| | | | | | | 2004-02-10 Murray Cumming <murrayc@usa.net> * glibmm now uses libsigc++ 2 instead of libsigc++ 1.2. See bug #125061 for more details. We must update CHANGES later.
* Initial revisionMurray Cumming2003-01-071-0/+102