main loop implementations can't provide a function to wake up other threads
Submitted by nichel
Assigned to D-Bus Maintainers
Description
usage of dbus core library: 1.application use core library directory(no binding)and implement main loop myself. 2.2 threads, dbus main loop and application tasking thread.
issue: tasking thread call dbus_connection_send_with_reply_and_block(), it will drop connection lock before poll I/O fd. In this gap, is very likely to occur when there have a large data(read 2K once). dbus main loop thread may read last block data from socket. and tasking thread will block until timeout(because nothing to read), it is a long time if use default value(25s).
Version: 1.5