C utility functions for OpenWRT libraries
Find a file
Helmut Schaa 510e4956e5 uloop: Fix incorrect timeout
uloop timeouts are calculated based on a time value that was fetched
before any callbacks were executed. Hence, the next timeout is off by
the time the callback execution took which can lead to strange side
effects.

Fix this by calculating the next timeout based on a fresh time value.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
2013-07-24 15:01:19 +02:00
examples runqueue: move completion handler from runqueue_process to runqueue_task to make it more generic 2013-05-09 01:27:45 +02:00
lua add declarations for lua{open,close}_uloop to avoid warnings 2012-10-22 20:03:36 +02:00
sh jshn: add support for the double datatype 2013-03-17 00:50:03 +01:00
.gitignore add a cmake file for the examples and add the binaries to .gitignore 2012-10-21 23:01:30 +02:00
avl-cmp.c add avl_strcmp 2012-05-26 18:01:18 +02:00
avl-cmp.h add avl_strcmp 2012-05-26 18:01:18 +02:00
avl.c make __avl_find_element() inline 2011-02-06 18:01:37 +01:00
avl.h avl: fix type handling in container_of uses 2013-03-18 05:53:44 +01:00
blob.c blob: add blob_buf_grow() 2013-02-10 20:43:33 +01:00
blob.h utils: move endian swap helpers and __packed definition to utils.h 2013-02-11 21:46:41 +01:00
blobmsg.c blobmsg: implement blobmsg_printf and blobmsg_vprintf 2013-02-17 16:42:12 +01:00
blobmsg.h blobmsg: implement blobmsg_printf and blobmsg_vprintf 2013-02-17 16:42:12 +01:00
blobmsg_json.c blobmsg_json: do not corrupt UTF-8 strings 2013-06-21 17:19:37 +02:00
blobmsg_json.h blobmsg_json: add blobmsg_add_json_from_file 2013-05-29 12:14:48 +02:00
CMakeLists.txt runqueue: add a simple task queueing/completion tracking implementation 2013-05-09 01:10:00 +02:00
jshn.c jshn: add support for the double datatype 2013-03-17 00:50:03 +01:00
json_script.c json_script: do not rely on global includes for other libubox header files 2013-03-02 16:21:11 +01:00
json_script.h json_script: do not rely on global includes for other libubox header files 2013-03-02 16:21:11 +01:00
list.h list.h: implement type safety for container_of() 2013-03-18 05:55:00 +01:00
list_compat.h list_compat.h: add copyright info 2013-01-13 09:49:16 +01:00
runqueue.c runqueue should cal the complete handler from more places 2013-07-02 18:33:46 +02:00
runqueue.h runqueue: move completion handler from runqueue_process to runqueue_task to make it more generic 2013-05-09 01:27:45 +02:00
safe_list.c safe_list: add missing null pointer check in safe_list_del() 2013-06-28 13:05:06 +02:00
safe_list.h safe_list: add safe_list_empty() 2013-04-15 15:53:57 +02:00
uloop.c uloop: Fix incorrect timeout 2013-07-24 15:01:19 +02:00
uloop.h uloop: fix corner cases with recursive uloop_run calls 2013-06-18 12:05:09 +02:00
usock.c add license headers for usock 2013-01-13 15:27:38 +01:00
usock.h add license headers for usock 2013-01-13 15:27:38 +01:00
ustream-fd.c ustream: only report stream eof once via state_change callback 2013-05-31 11:18:26 +02:00
ustream.c ustream: return NULL in ustream_get_read_buf if there's a buffer, but no data 2013-06-21 19:53:09 +02:00
ustream.h ustream: another fix for ustream_read_buf_full() with split read buffers 2013-01-31 18:10:52 +01:00
utils.c uloop: add a clock_gettime() implementation for mac os x 2013-01-06 02:42:58 +01:00
utils.h utils: add bitfield inline ops 2013-06-10 13:37:14 +02:00
vlist.c add vlist (from netifd) 2012-05-26 18:01:18 +02:00
vlist.h vlist.h: protect against multiple inclusions 2012-06-10 17:11:36 +02:00