|
glibmm
2.36.2
|
#include <glibmm/main.h>
Public Member Functions | |
| sigc::connection | connect (const sigc::slot< void, GPid, int >& slot, GPid pid, int priority=PRIORITY_DEFAULT) |
| Connects a child watch handler. More... | |
| sigc::connection Glib::SignalChildWatch::connect | ( | const sigc::slot< void, GPid, int > & | slot, |
| GPid | pid, | ||
| int | priority = PRIORITY_DEFAULT |
||
| ) |
Connects a child watch handler.
This method is not thread-safe. You should call it, or manipulate the returned sigc::connection object, only from the thread where the SignalChildWatch object's MainContext runs.
| slot | A slot to call when child process pid exited. |
| pid | The child process to watch for. |
| priority | The priority of the new event source. |
1.8.3.1