• Thomas Guillem's avatar
    kwallet: make dbus messages interruptible · 880ade6b
    Thomas Guillem authored
    Instead of calling dbus_connection_send_with_reply_and_block, we do:
    
     - Setup watch functions in order to get fds and poll events when a callback is
       triggered.
    
     - Call dbus_connection_send_with_reply() (that won't do anything because no
       mainloop). This will trigger watch callbacks.
    
     - In loop: call vlc_poll_i11e() with fds fetched from the watch callbacks.
       Call dbus_watch_handle() on the polled fds. This will do the I/O (non
       blocking).
    
     - Wait for reply from the pending call.
    880ade6b
Name
Last commit
Last update
..
Makefile.am Loading commit data...
file.c Loading commit data...
file_crypt.h Loading commit data...
file_crypt_android.c Loading commit data...
keychain.m Loading commit data...
kwallet.c Loading commit data...
list_util.c Loading commit data...
list_util.h Loading commit data...
memory.c Loading commit data...
secret.c Loading commit data...