A message system like D-Bus for Liminix, taken from OpenWRT's ubus
Find a file
Felix Fietkau dd3afa517d libubus: fix deadlock in recursive synchronous ubus requests
When synchronous request completion loops are running, the innermost
loop can receive events that can unblock the outer loops, however the
loop clears uloop_cancelled (which is set by the request completion).

This causes the event loop to continue running even while a completion
loop has already been unblocked.

Fix this by not clearing uloop_cancelled for inner loops

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2013-05-11 20:39:54 +02:00
examples add INCLUDE_DIRECTORIES to subdirectories 2013-03-03 03:43:22 +01:00
lua add INCLUDE_DIRECTORIES to subdirectories 2013-03-03 03:43:22 +01:00
systemd add systemd support 2013-03-04 19:11:21 +01:00
.gitignore examples: split client/server code 2012-10-24 14:37:57 +02:00
cli.c cli: add array and table types to method signature dump 2012-09-28 23:10:23 +02:00
CMakeLists.txt add systemd support 2013-03-04 19:11:21 +01:00
libubus-internal.h libubus: refactor code, move request handling to libubus-req.c 2012-12-14 14:13:27 +01:00
libubus-io.c libubus: fix crash on reconnect with objects that have no type 2013-04-04 22:03:24 +02:00
libubus-obj.c libubus: do not send a status reply if UBUS_ATTR_NO_REPLY is set 2012-12-14 20:05:34 +01:00
libubus-req.c libubus: fix deadlock in recursive synchronous ubus requests 2013-05-11 20:39:54 +02:00
libubus-sub.c libubus: fix passing the return code of the subscriber callback to the notifier 2013-03-17 18:29:38 +01:00
libubus.c libubus: free internal blob_buf memory when freeing an ubus context 2012-12-30 14:14:22 +01:00
libubus.h libubus: add ubus_unregister_subscriber wrapper 2013-03-17 03:11:35 +01:00
ubus_common.h make UBUS_UNIX_SOCKET configurable via cmake 2013-03-04 19:11:15 +01:00
ubusd.c add copyright/license information 2011-06-17 16:35:11 +02:00
ubusd.h add copyright/license information 2011-06-17 16:35:11 +02:00
ubusd_event.c make a few functions static 2012-05-29 00:40:50 +02:00
ubusd_id.c ubusd: use avl_strcmp 2012-12-11 23:38:00 +01:00
ubusd_id.h add copyright/license information 2011-06-17 16:35:11 +02:00
ubusd_obj.c remove the "method" argument for object subscription 2012-12-14 13:11:40 +01:00
ubusd_obj.h remove the "method" argument for object subscription 2012-12-14 13:11:40 +01:00
ubusd_proto.c ubusd: implement notify forwarding with status reporting 2012-12-15 00:32:27 +01:00
ubusmsg.h ubusd: implement notify forwarding with status reporting 2012-12-15 00:32:27 +01:00