Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8e3a0e78 authored by Dan Albert's avatar Dan Albert Committed by Automerger Merge Worker
Browse files

Merge "Define the error conditions for ALooper_pollOnce." into main am: ec4fb37b

parents f971721e ec4fb37b
Loading
Loading
Loading
Loading
+3 −2
Original line number Original line Diff line number Diff line
@@ -193,8 +193,9 @@ typedef int (*ALooper_callbackFunc)(int fd, int events, void* data);
 * Returns ALOOPER_POLL_TIMEOUT if there was no data before the given timeout
 * Returns ALOOPER_POLL_TIMEOUT if there was no data before the given timeout
 * expired. The poll may also have been explicitly woken by ALooper_wake.
 * expired. The poll may also have been explicitly woken by ALooper_wake.
 *
 *
 * Returns ALOOPER_POLL_ERROR if an error occurred. The poll may also have been
 * Returns ALOOPER_POLL_ERROR if the calling thread has no associated Looper or
 * explicitly woken by ALooper_wake.
 * for unrecoverable internal errors. The poll may also have been explicitly
 * woken by ALooper_wake.
 *
 *
 * Returns a value >= 0 containing an identifier (the same identifier `ident`
 * Returns a value >= 0 containing an identifier (the same identifier `ident`
 * passed to ALooper_addFd()) if its file descriptor has data and it has no
 * passed to ALooper_addFd()) if its file descriptor has data and it has no