Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.openwrt.org/project/libubox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-02-23uloop: Add flag to allow callback to be called on error conditions.Karl Vogel
In some conditions, an application is interested in errors happening on a file descriptor and might be able to resolve the issue in the callback function. This patch adds a flag to notify the uloop framework that errors should be passed to the callback function, instead of silently removing the fd from the polling set. Signed-off-by: Karl Vogel <karl.vogel@gmail.com>
2013-06-18uloop: fix corner cases with recursive uloop_run callsFelix Fietkau
With multiple recursive calls to uloop_run, the callback for the same fd can be run multiple times from different levels in the stack. Prevent this by tracking the stack of uloop_fd callbacks and buffering new incoming events for fds already on the stack. Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-06-18libubox: make uloop_fd::flags genericFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-06-18uloop: fix edge trigger handling on mac os xFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-01-23uloop: rename uloop_timeout_pending() to uloop_timeout_remaining()Jo-Philipp Wich
2013-01-23uloop: add uloop_timeout_pending() function to determine the remaining time ↵Jo-Philipp Wich
of an active timeout
2013-01-13uloop: replace copyright info (code has been completely rewritten over ↵Felix Fietkau
time), relicense to ISC Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-01-04uloop: improve edge trigger reliability on mac os xFelix Fietkau
Sometimes after re-arming a fd, an initial event for reads is not generated, even though there is data pending. Work around this by making the trigger level-triggered first, then switching to edge trigger after processing the first event. Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-01-04uloop: do less state/change tracking for kevent() on mac os x, it is unreliableFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2012-05-28uloop: include sys/types.h to make pid_t availableBenjamin Larsson
2011-05-25uloop: use list.h, add support for handling sigchldFelix Fietkau
2011-02-07make uloop_end() inlineFelix Fietkau
2011-02-06uloop: export the cancelled flagFelix Fietkau
2010-12-06uloop: add a flag for keeping the socket blockingFelix Fietkau
2010-12-05port uloop to BSD kqueueFelix Fietkau
2010-10-13Initial importFelix Fietkau