diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2006-09-27 16:24:26 +0000 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2006-09-27 16:24:26 +0000 |
commit | 247635fe3905e4cc084a167c6db6e53dd7b0554d (patch) | |
tree | f04ebede4f19760416493440d945453d791c4ab6 /common/glib-ectomy.h | |
parent | 30e40ae987f4723deda3949879a6c0cd45fec92a (diff) |
Support for prioritized watches
Diffstat (limited to 'common/glib-ectomy.h')
-rw-r--r-- | common/glib-ectomy.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common/glib-ectomy.h b/common/glib-ectomy.h index 4d00870c..411cc25f 100644 --- a/common/glib-ectomy.h +++ b/common/glib-ectomy.h @@ -69,6 +69,12 @@ typedef enum { G_IO_NVAL = POLLNVAL } GIOCondition; +#define G_PRIORITY_HIGH -100 +#define G_PRIORITY_DEFAULT 0 +#define G_PRIORITY_HIGH_IDLE 100 +#define G_PRIORITY_DEFAULT_IDLE 200 +#define G_PRIORITY_LOW 300 + typedef void (*GDestroyNotify) (gpointer data); typedef gboolean (*GIOFunc) (GIOChannel *source, GIOCondition condition, gpointer data); |