summaryrefslogtreecommitdiffstats
path: root/native
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2010-10-10 12:52:40 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2010-10-10 12:52:40 -0700
commitd5da367024c36b317b101fc066a7a4cf992c7d58 (patch)
tree87cf98a6514557be5427c462349a0ee9deb9a9dd /native
parentbcf74accafcdac6c7a940ce28982fc0ef08e111b (diff)
parent22cb4ef8ce9c4d5536ac5cee5c40b82bfa56ccc5 (diff)
downloadframeworks_base-d5da367024c36b317b101fc066a7a4cf992c7d58.zip
frameworks_base-d5da367024c36b317b101fc066a7a4cf992c7d58.tar.gz
frameworks_base-d5da367024c36b317b101fc066a7a4cf992c7d58.tar.bz2
am 22cb4ef8: am d577cfd7: Merge "Switch Looper back to using poll() instead of epoll()." into gingerbread
Merge commit '22cb4ef8ce9c4d5536ac5cee5c40b82bfa56ccc5' * commit '22cb4ef8ce9c4d5536ac5cee5c40b82bfa56ccc5': Switch Looper back to using poll() instead of epoll().
Diffstat (limited to 'native')
-rw-r--r--native/include/android/looper.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/native/include/android/looper.h b/native/include/android/looper.h
index a63b744..a9d8426 100644
--- a/native/include/android/looper.h
+++ b/native/include/android/looper.h
@@ -135,6 +135,15 @@ enum {
* to specify this event flag in the requested event set.
*/
ALOOPER_EVENT_HANGUP = 1 << 3,
+
+ /**
+ * The file descriptor is invalid.
+ * For example, the file descriptor was closed prematurely.
+ *
+ * The looper always sends notifications about invalid file descriptors; it is not necessary
+ * to specify this event flag in the requested event set.
+ */
+ ALOOPER_EVENT_INVALID = 1 << 4,
};
/**