libcutils/selector.c
static inline void maybeInvoke(SelectableFd* selectableFd,
        void (*callback)(SelectableFd*), fd_set* fdSet) {
	if (callback != NULL && !selectableFd->remove && 
            FD_ISSET(selectableFd->fd, fdSet)) {
		LOGD("Selected fd %d.", selectableFd->fd);
        callback(selectableFd);
    }
}
/**
 * Invokes a callback if the callback is non-null and the fd is in the given
 * set.
 */
Invokes a callback if the callback is non-null and the fd is in the given
set.
Invokes a callback if the callback is non - null and the fd is in the given set .
static inline void maybeInvoke(SelectableFd* selectableFd,
        void (*callback)(SelectableFd*), fd_set* fdSet) {
	if (callback != NULL && !selectableFd->remove && 
            FD_ISSET(selectableFd->fd, fdSet)) {
		LOGD("Selected fd %d.", selectableFd->fd);
        callback(selectableFd);
    }
}
static inline void maybeInvoke ( SelectableFd * selectableFd , void ( * callback ) ( SelectableFd * ) , fd_set * fdSet ) { if ( callback != NULL && ! selectableFd -> remove && FD_ISSET ( selectableFd -> fd , fdSet ) ) { LOGD ( " " , selectableFd -> fd ) ; callback ( selectableFd ) ; } }
Invokes a callback if the callback is non-null and the fd is in the given
 set.
Invokes a callback if the callback is non - null and the fd is in the given set .