notify for first & last signal handler



hi,

I would like to know when the first gets connected to my signal and when the last one disconnects. The signal is emmitted from a process that I don't want to run, if nobody listens. There is g_signal_has_handler_pending(), but I don't want to poll that. Anyone aware of a way to do it?

Stefan




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]