mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-09-08 00:48:45 +02:00
gio: Add GTlsInteraction interaction method invocation guarantees
* Add 'invoke' style method, which can be used to call an interaction from any thread. The interaction will be run in the appropriate #GMainContext * Sync methods can be called whether main loop is running or not. * Derived classes can choose to implement only sync or async interaction method, and the invoke method will fill in the blanks. * Documentation for the above. * Tests for the above. https://bugzilla.gnome.org/show_bug.cgi?id=657567
This commit is contained in:
@@ -52,6 +52,7 @@ TEST_PROGS += \
|
||||
socket \
|
||||
pollable \
|
||||
tls-certificate \
|
||||
tls-interaction \
|
||||
cancellable \
|
||||
$(NULL)
|
||||
|
||||
@@ -468,6 +469,8 @@ proxy_LDADD = $(progs_ldadd) \
|
||||
tls_certificate_SOURCES = tls-certificate.c gtesttlsbackend.c gtesttlsbackend.h
|
||||
tls_certificate_LDADD = $(progs_ldadd)
|
||||
|
||||
tls_interaction_LDADD = $(progs_ldadd)
|
||||
|
||||
cancellable_LDADD = $(progs_ldadd)
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user